diff options
| author | Phil Nash | 2010-12-14 09:00:09 +0000 |
|---|---|---|
| committer | Phil Nash | 2010-12-14 09:00:09 +0000 |
| commit | a2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8 (patch) | |
| tree | fc7778e1f5d2cbdac2f3c5343dadb1cba31368f8 /Test/ExceptionTests.cpp | |
| parent | de77ff3b29fe02de338ed30cc515288c312067e0 (diff) | |
| download | catch3-a2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8.tar.gz | |
changed macro names: EXPECT -> REQUIRE, *_NOT -> *_FALSE
Diffstat (limited to 'Test/ExceptionTests.cpp')
| -rw-r--r-- | Test/ExceptionTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/ExceptionTests.cpp b/Test/ExceptionTests.cpp index 35ba0b9a..327b6d0b 100644 --- a/Test/ExceptionTests.cpp +++ b/Test/ExceptionTests.cpp @@ -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" ) |