From 0c5626962a9f621a2c63dbf2a128520d530d8360 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 13 May 2013 08:20:45 +0100 Subject: [PATCH] test case for infinite loop --- projects/SelfTest/MiscTests.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/projects/SelfTest/MiscTests.cpp b/projects/SelfTest/MiscTests.cpp index a77f215f..dc23bd58 100644 --- a/projects/SelfTest/MiscTests.cpp +++ b/projects/SelfTest/MiscTests.cpp @@ -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"); +//}