changed macro names: EXPECT -> REQUIRE, *_NOT -> *_FALSE
This commit is contained in:
1 parent
de77ff3b29
commit
a2d20951a2
7 files changed
+67
-67
No files matched your search
@@ -29,9 +29,9 @@ namespace
|
||||
|
||||
TEST_CASE( "succeeding/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" )
|
||||
{
|
||||
CHECK_THROWS_AS( thisThrows(), std::domain_error );
|
||||
CHECK_NOTHROW( thisDoesntThrow() );
|
||||
EXPECT_THROWS( thisThrows() );
|
||||
REQUIRE_THROWS_AS( thisThrows(), std::domain_error );
|
||||
REQUIRE_NOTHROW( thisDoesntThrow() );
|
||||
REQUIRE_THROWS( thisThrows() );
|
||||
}
|
||||
|
||||
TEST_CASE( "failing/exceptions/explicit", "When checked exceptions are thrown they can be expected or unexpected" )
|
||||
|
||||
Reference in new issue
Block a user