mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Restored second arg to a TEST_CASE for non variadic compilers
This commit is contained in:
parent
063593828c
commit
ba13f3f098
@ -13,7 +13,7 @@ TEST_CASE( "INFO and WARN do not abort tests", "[messages]" )
|
|||||||
INFO( "this is a " << "message" ); // This should output the message if a failure occurs
|
INFO( "this is a " << "message" ); // This should output the message if a failure occurs
|
||||||
WARN( "this is a " << "warning" ); // This should always output the message but then continue
|
WARN( "this is a " << "warning" ); // This should always output the message but then continue
|
||||||
}
|
}
|
||||||
TEST_CASE( "SUCCEED counts as a test pass" )
|
TEST_CASE( "SUCCEED counts as a test pass", "[messages]" )
|
||||||
{
|
{
|
||||||
SUCCEED( "this is a " << "success" );
|
SUCCEED( "this is a " << "success" );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user