Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test/ExceptionTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2010-12-14 09:00:09 +0000
committerPhil Nash2010-12-14 09:00:09 +0000
commita2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8 (patch)
treefc7778e1f5d2cbdac2f3c5343dadb1cba31368f8 /Test/ExceptionTests.cpp
parentde77ff3b29fe02de338ed30cc515288c312067e0 (diff)
downloadcatch3-a2d20951a266bc1f5ccc2b0373a6cc4ecac26ef8.tar.gz
changed macro names: EXPECT -> REQUIRE, *_NOT -> *_FALSE
Diffstat (limited to 'Test/ExceptionTests.cpp')
-rw-r--r--Test/ExceptionTests.cpp6
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" )