Skip to content

Commit 0901170

Browse files
add test
1 parent c1ac71a commit 0901170

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/errorshow.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ let err_str,
406406
@test occursin("MethodError: no method matching Bool()", err_str)
407407
err_str = @except_str :a() MethodError
408408
@test occursin("MethodError: objects of type Symbol are not callable", err_str)
409+
err_str = @except_str missing(1) MethodError
410+
@test occursin("MethodError: objects of type Missing are not callable", err_str)
409411
err_str = @except_str EightBitType() MethodError
410412
@test occursin("MethodError: no method matching $(curmod_prefix)EightBitType()", err_str)
411413
err_str = @except_str i() MethodError

0 commit comments

Comments
 (0)