mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-27 23:19:32 +00:00
Addressed some warnings (mostly MSVC)
This commit is contained in:
parent
6ba2057abd
commit
2e3c5fa2ad
8 changed files with 26 additions and 3 deletions
|
@ -47,7 +47,7 @@ TEST_CASE( "./mixed/message/info/2", "INFO gets logged on failure" )
|
|||
|
||||
TEST_CASE( "./failing/message/fail", "FAIL aborts the test" )
|
||||
{
|
||||
if( true )
|
||||
if( Catch::isTrue( true ) )
|
||||
FAIL( "This is a " << "failure" ); // This should output the message and abort
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue