Skip to content

Commit

Permalink
Merge pull request #13097 from JuliaLang/ird/rmtestthrowret
Browse files Browse the repository at this point in the history
Remove guarantee of at-test_throw return type.
  • Loading branch information
tkelman committed Sep 13, 2015
2 parents 4a2298d + c7d4875 commit fd51bab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base/docs/helpdb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion doc/stdlib/test.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit fd51bab

Please sign in to comment.