diff options
| author | Phil Nash | 2011-03-09 19:45:05 +0000 |
|---|---|---|
| committer | Phil Nash | 2011-03-09 19:45:05 +0000 |
| commit | b708789ee9aa5888e104adbcaa7048b2432eaf9b (patch) | |
| tree | 73433c986e8ab35ac50359867b3b3555f5808c15 /Test/MiscTests.cpp | |
| parent | c57ff75cdb9841aaf9a4e14b98eabe9e4584d564 (diff) | |
| download | catch3-b708789ee9aa5888e104adbcaa7048b2432eaf9b.tar.gz | |
First cut of single-evaluation fix
Diffstat (limited to 'Test/MiscTests.cpp')
| -rw-r--r-- | Test/MiscTests.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/MiscTests.cpp b/Test/MiscTests.cpp index ab380dc2..cae910d6 100644 --- a/Test/MiscTests.cpp +++ b/Test/MiscTests.cpp @@ -113,3 +113,11 @@ TEST_CASE( "./succeeding/Misc/null strings", "" ) REQUIRE( makeString( false ) != static_cast<char*>(NULL)); REQUIRE( makeString( true ) == static_cast<char*>(NULL)); } + +TEST_CASE( "./failing/info", "sends information to INFO" ) +{ + INFO( "hi" ); + int i = 7; + CAPTURE( i ); + REQUIRE( false ); +} |