Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Updated message tests to reflect slightly changed semantics

Commit
fb944f2b6b1d7c1904f4d53645445ff9302f9e5b
Author
Phil Nash ·
Parents
a2773810db4e

Files · Download .tar.gz

Changes

 projects/SelfTest/Baselines/approvedResults.txt | 8 ++++----
 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 );