Secondary fix for #270 (addresses same issue with CHECK)
This commit is contained in:
1 parent
a176b93738
commit
1bccc03213
6 files changed
+63
-11
No files matched your search
@@ -66,12 +66,18 @@ TEST_CASE( "When unchecked exceptions are thrown from functions they are always
|
||||
CHECK( thisThrows() == 0 );
|
||||
}
|
||||
|
||||
TEST_CASE( "When unchecked exceptions are thrown during a require the test should fail", "[.][failing]" )
|
||||
TEST_CASE( "When unchecked exceptions are thrown during a REQUIRE the test should abort fail", "[.][failing]" )
|
||||
{
|
||||
REQUIRE( thisThrows() == 0 );
|
||||
FAIL( "This should never happen" );
|
||||
}
|
||||
|
||||
TEST_CASE( "When unchecked exceptions are thrown during a CHECK the test should abort and fail", "[.][failing]" )
|
||||
{
|
||||
CHECK( thisThrows() == 0 );
|
||||
FAIL( "This should never happen" );
|
||||
}
|
||||
|
||||
TEST_CASE( "When unchecked exceptions are thrown, but caught, they do not affect the test", "" )
|
||||
{
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user