-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assert that an expression throws error #499
Comments
JeffBezanson
added a commit
that referenced
this issue
Mar 3, 2012
adding @assert_fails, closing #499
KristofferC
pushed a commit
that referenced
this issue
Jul 27, 2018
* Refactor argument order checking
KristofferC
pushed a commit
that referenced
this issue
Jul 27, 2018
* Refactor argument order checking
KristofferC
pushed a commit
that referenced
this issue
Feb 11, 2019
* Refactor argument order checking
cmcaine
pushed a commit
to cmcaine/julia
that referenced
this issue
Nov 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The current test suite does not (easily) allow testing of failures that throw errors. There should be a macro along the lines of @assert_throws_error that catches the error and succeeds (or doesn't catch an error and fails). (See also #8.)
The text was updated successfully, but these errors were encountered: