Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/Test/MiscTests.cpp
diff options
context:
space:
mode:
authorPhil Nash2011-03-09 19:45:05 +0000
committerPhil Nash2011-03-09 19:45:05 +0000
commitb708789ee9aa5888e104adbcaa7048b2432eaf9b (patch)
tree73433c986e8ab35ac50359867b3b3555f5808c15 /Test/MiscTests.cpp
parentc57ff75cdb9841aaf9a4e14b98eabe9e4584d564 (diff)
downloadcatch3-b708789ee9aa5888e104adbcaa7048b2432eaf9b.tar.gz
First cut of single-evaluation fix
Diffstat (limited to 'Test/MiscTests.cpp')
-rw-r--r--Test/MiscTests.cpp8
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 );
+}