Fixed sticky INFO (which persisted across TEST_CASEs) from #152 and generated build 18

This commit is contained in:
Phil Nash 2013-02-04 00:05:16 +00:00
parent fb944f2b6b
commit d768b1b7f9
6 changed files with 65 additions and 11 deletions

View file

@ -91,3 +91,12 @@ TEST_CASE( "./succeeding/nofail", "The NO_FAIL macro reports a failure but does
{
CHECK_NOFAIL( 1 == 2 );
}
TEST_CASE( "just info", "[info][isolated info]" )
{
INFO( "this should never be seen" );
}
TEST_CASE( "just failure", "[fail][isolated info]" )
{
FAIL( "Previous info should not be seen" );
}