diff --git a/base/docs/helpdb.jl b/base/docs/helpdb.jl index 675d13d9db800..3ee39dab89e2f 100644 --- a/base/docs/helpdb.jl +++ b/base/docs/helpdb.jl @@ -525,7 +525,7 @@ Collections.isheap doc""" @test_throws(extype, ex) -Test that the expression `ex` throws an exception of type `extype` and calls the current handler to handle the result. The default handler returns the exception if it is of the expected type. +Test that the expression `ex` throws an exception of type `extype` and calls the current handler to handle the result. """ :(Test.@test_throws) diff --git a/doc/stdlib/test.rst b/doc/stdlib/test.rst index 456f3375c2c18..cfd9bf56358da 100644 --- a/doc/stdlib/test.rst +++ b/doc/stdlib/test.rst @@ -158,7 +158,7 @@ Macros .. Docstring generated from Julia source - Test that the expression ``ex`` throws an exception of type ``extype`` and calls the current handler to handle the result. The default handler returns the exception if it is of the expected type. + Test that the expression ``ex`` throws an exception of type ``extype`` and calls the current handler to handle the result. .. function:: @test_approx_eq(a, b)