Add failing test for CATCH_UNSCOPED_CAPTURE

Actually fails to compile, which is good
This commit is contained in:
Joel Bradshaw 2019-04-24 12:50:31 -07:00
parent 7c37501b07
commit f45bb00351

View File

@ -48,6 +48,7 @@ CATCH_TEST_CASE("PrefixedMacros") {
CATCH_CHECK_THAT("bdef", Equals("bdef")); CATCH_CHECK_THAT("bdef", Equals("bdef"));
CATCH_INFO( "some info" ); CATCH_INFO( "some info" );
CATCH_UNSCOPED_INFO( "some info" );
CATCH_WARN( "some warn" ); CATCH_WARN( "some warn" );
CATCH_SECTION("some section") { CATCH_SECTION("some section") {
int i = 1; int i = 1;