forked from catchorg/Catch2
Secondary fix for #270 (addresses same issue with CHECK)
This commit is contained in:
@@ -332,7 +332,8 @@ due to unexpected exception with message:
|
||||
expected exception
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
When unchecked exceptions are thrown during a require the test should fail
|
||||
When unchecked exceptions are thrown during a REQUIRE the test should abort
|
||||
fail
|
||||
-------------------------------------------------------------------------------
|
||||
ExceptionTests.cpp:<line number>
|
||||
...............................................................................
|
||||
@@ -342,6 +343,18 @@ ExceptionTests.cpp:<line number>: FAILED:
|
||||
due to unexpected exception with message:
|
||||
expected exception
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
When unchecked exceptions are thrown during a CHECK the test should abort and
|
||||
fail
|
||||
-------------------------------------------------------------------------------
|
||||
ExceptionTests.cpp:<line number>
|
||||
...............................................................................
|
||||
|
||||
ExceptionTests.cpp:<line number>: FAILED:
|
||||
CHECK( thisThrows() == 0 )
|
||||
due to unexpected exception with message:
|
||||
expected exception
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
Unexpected custom exceptions can be translated
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -761,5 +774,5 @@ with expansion:
|
||||
"first" == "second"
|
||||
|
||||
===============================================================================
|
||||
123 test cases - 37 failed (659 assertions - 92 failed)
|
||||
124 test cases - 38 failed (660 assertions - 93 failed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user