Skip to content

Commit 099d86e

Browse files
committed
add test
1 parent 4b9bc5b commit 099d86e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/traits.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ small = SmallLearner()
5050

5151
@trait SmallLearner kinds_of_proxy=(Point(),)
5252
@test LearnAPI.is_learner(small)
53+
@test !LearnAPI.is_learner("junk")
5354
@test !LearnAPI.target(small)
5455
@test !LearnAPI.weights(small)
5556
@test LearnAPI.preferred_kind_of_proxy(small) == Point()

0 commit comments

Comments
 (0)