mirror of
https://github.com/catchorg/Catch2
synced 2026-02-15 01:32:11 +00:00
changed macro names: EXPECT -> REQUIRE, *_NOT -> *_FALSE
This commit is contained in:
@@ -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