test case for infinite loop

This commit is contained in:
Phil Nash 2013-05-13 08:20:45 +01:00
parent 11e55161e1
commit 0c5626962a

View File

@ -332,3 +332,13 @@ TEST_CASE( "vectors can be sized and resized", "[vector]" ) {
REQUIRE( v.capacity() >= 5 );
}
}
// https://github.com/philsquared/Catch/issues/166
//TEST_CASE("CatchSectionInfiniteLoop", "")
//{
// SECTION("Outer", "")
// SECTION("Inner", "")
// SUCCEED("that's not flying - that's failing in style");
//
// FAIL("to infinity and beyond");
//}