test_throws message confuses me #9686
Labels
error handling
Handling of exceptions by Julia or the user
help wanted
Indicates that a maintainer wants help on an issue or pull request
There’s nothing I can say that will explain it for you. See for yourself.
julia> @test_throws DomainError throw(DomainError)
ERROR: test failed: DomainError was thrown instead of DomainError
in expression: throw(DomainError)
in error at error.jl:21
in default_handler at test.jl:27
in do_test_throws at test.jl:69
The text was updated successfully, but these errors were encountered: