diff options
| author | Phil Nash | 2013-02-02 20:46:55 +0000 |
|---|---|---|
| committer | Phil Nash | 2013-02-02 20:46:55 +0000 |
| commit | fb944f2b6b1d7c1904f4d53645445ff9302f9e5b (patch) | |
| tree | 6b114e891ca3bf38ebccbf5db80a00dd160b4c97 | |
| parent | a2773810db4ec00ca1846a80a1d6f2ef351db9eb (diff) | |
| download | catch3-fb944f2b6b1d7c1904f4d53645445ff9302f9e5b.tar.gz | |
Updated message tests to reflect slightly changed semantics
| -rw-r--r-- | projects/SelfTest/Baselines/approvedResults.txt | 8 | ||||
| -rw-r--r-- | projects/SelfTest/MessageTests.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/projects/SelfTest/Baselines/approvedResults.txt b/projects/SelfTest/Baselines/approvedResults.txt index 9f20d66e..cdce6d3a 100644 --- a/projects/SelfTest/Baselines/approvedResults.txt +++ b/projects/SelfTest/Baselines/approvedResults.txt @@ -1,5 +1,5 @@ -CatchSelfTest is a CATCH v0.9 b16 (integration) host application. +CatchSelfTest is a CATCH v0.9 b17 (integration) host application. Run with -? for options ------------------------------------------------------------------------------- @@ -2040,7 +2040,7 @@ PASSED: with expansion: 2 == 2 with message: - this message should be logged + this message should not be logged MessageTests.cpp:33: FAILED: @@ -2048,7 +2048,7 @@ FAILED: with expansion: 2 == 1 with message: - this message should be logged, too + this message should be logged MessageTests.cpp:37: FAILED: @@ -4238,7 +4238,7 @@ BDDTests.cpp:29: 96 test cases - 45 failed (610 assertions - 102 failed) -CatchSelfTest is a CATCH v0.9 b16 (integration) host application. +CatchSelfTest is a CATCH v0.9 b17 (integration) host application. Run with -? for options ------------------------------------------------------------------------------- diff --git a/projects/SelfTest/MessageTests.cpp b/projects/SelfTest/MessageTests.cpp index f7cfea35..bdfa88d3 100644 --- a/projects/SelfTest/MessageTests.cpp +++ b/projects/SelfTest/MessageTests.cpp @@ -28,11 +28,11 @@ TEST_CASE( "./failing/message/info/1", "INFO gets logged on failure" ) TEST_CASE( "./mixed/message/info/2", "INFO gets logged on failure" ) { - INFO( "this message should be logged" ); + INFO( "this message should not be logged" ); int a = 2; CHECK( a == 2 ); - INFO( "this message should be logged, too" ); + INFO( "this message should be logged" ); CHECK( a == 1 ); |