mirror of
https://github.com/catchorg/Catch2.git
synced 2025-09-14 09:25:40 +02:00
Secondary fix for #270 (addresses same issue with CHECK)
This commit is contained in:
@@ -1111,7 +1111,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>
|
||||
...............................................................................
|
||||
@@ -1121,6 +1122,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
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
When unchecked exceptions are thrown, but caught, they do not affect the test
|
||||
-------------------------------------------------------------------------------
|
||||
@@ -6969,5 +6982,5 @@ with expansion:
|
||||
true
|
||||
|
||||
===============================================================================
|
||||
123 test cases - 52 failed (678 assertions - 111 failed)
|
||||
124 test cases - 53 failed (679 assertions - 112 failed)
|
||||
|
||||
|
Reference in New Issue
Block a user