mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Updated message tests to reflect slightly changed semantics
This commit is contained in:
parent
a2773810db
commit
fb944f2b6b
@ -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
|
Run with -? for options
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
@ -2040,7 +2040,7 @@ PASSED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
2 == 2
|
2 == 2
|
||||||
with message:
|
with message:
|
||||||
this message should be logged
|
this message should not be logged
|
||||||
MessageTests.cpp:33:
|
MessageTests.cpp:33:
|
||||||
|
|
||||||
FAILED:
|
FAILED:
|
||||||
@ -2048,7 +2048,7 @@ FAILED:
|
|||||||
with expansion:
|
with expansion:
|
||||||
2 == 1
|
2 == 1
|
||||||
with message:
|
with message:
|
||||||
this message should be logged, too
|
this message should be logged
|
||||||
MessageTests.cpp:37:
|
MessageTests.cpp:37:
|
||||||
|
|
||||||
FAILED:
|
FAILED:
|
||||||
@ -4238,7 +4238,7 @@ BDDTests.cpp:29:
|
|||||||
96 test cases - 45 failed (610 assertions - 102 failed)
|
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
|
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" )
|
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;
|
int a = 2;
|
||||||
CHECK( a == 2 );
|
CHECK( a == 2 );
|
||||||
|
|
||||||
INFO( "this message should be logged, too" );
|
INFO( "this message should be logged" );
|
||||||
|
|
||||||
CHECK( a == 1 );
|
CHECK( a == 1 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user