-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Exception in CHECK/REQUIRE prints exception message twice and raises assertion-failure counter by two #164
Comments
#139 related to the integration branch (which probably hasn't been merged over since then). Looks like you've found the same issue on Master. |
With the integration branch the second message is slightly different and contains the message "{Unknown expression after the reported line}", but it still counts as if 2 assertions failed instead of one. |
Ah. Thanks for the extra info, Andy. |
- Removed spurious (re-)throw when catching unexpected exception
Found and fixed. Thanks for reporting this guys. Was a silly little spurious (re-)throw statement that got left in at some point. |
(Fixed in Integration, that is) |
Wow, that was fast. Thank you very much :) |
NP. Thanks for letting me know about it |
If an exception is thrown in a test-case which doesn't except it, the assertion-failure counter is raised by two and the exception message is printed twice.
Example: (using the latest all-in-one file)
Running the following test
Gives the following output:
I found a related issue here(#139), however that was supposed to be fixed.
The text was updated successfully, but these errors were encountered: