Skip to content

Commit c7735ce

Browse files
EssamWisamablaom
andauthored
Update test/encoders.jl
Co-authored-by: Anthony Blaom, PhD <anthony.blaom@gmail.com>
1 parent eee849c commit c7735ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/encoders.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
@test all(scs .== Continuous)
3232

3333
# 2) all types must be a concrete subtype of AbstractFloat (i.e. <: AbstractFloat, but ≠ AbstractFloat itself)
34-
all(t -> t <: AbstractFloat && isconcretetype(t), ts) ||
35-
error("Some types are not strict concrete subtypes of AbstractFloat")
34+
@test all(t -> t <: AbstractFloat && isconcretetype(t), ts)
3635
end
3736

3837
@testset "Generate New feature names Function Tests" begin

0 commit comments

Comments
 (0)