We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3583096 commit bc8efebCopy full SHA for bc8efeb
test/convert.jl
@@ -5,9 +5,9 @@ using DataTypesBasic
5
@test_throws AssertionError convert(Const, [1,2,3])
6
7
@test convert(Vector, Identity("hello")) == ["hello"]
8
-@test convert(Vector, nothing) == []
9
@test convert(Vector, Const(43)) == []
10
@test convert(Vector, @ContextManager cont -> cont(2)) == [2]
+@test_throws MethodError convert(Vector, nothing)
11
12
@test convert(Identity, @ContextManager cont -> cont(2)) == Identity(2)
13
@test_throws MethodError convert(Identity, [1,2,3])
0 commit comments