Skip to content

Commit a062067

Browse files
committed
Merge branch 'ap/which' of https://github.com/apaz-cli/julia into ap/which
2 parents 130f253 + 9551f58 commit a062067

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/ambiguous.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ let io = IOBuffer()
7575
cf = @eval @cfunction(ambig, Int, (UInt8, Int)) # test for a crash (doesn't throw an error)
7676
@test_throws(MethodError(ambig, (UInt8(1), Int(2)), get_world_counter()),
7777
ccall(cf, Int, (UInt8, Int), 1, 2))
78-
@test_throws(MethodError(ambig, Tuple{UInt8, Int}, get_world_counter()),
79-
which(ambig, (UInt8, Int)))
78+
@test_throws ErrorException which(ambig, (UInt8, Int))
8079
@test length(code_typed(ambig, (UInt8, Int))) == 0
8180
end
8281

0 commit comments

Comments
 (0)