mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	Updated message tests to reflect slightly changed semantics
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
@@ -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 );
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user