Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Removed over-eager assertion.

Doesn't hold if reporting due to a segfault
#377
Commit
e04ba5c9f684389ecd268d6dac05b194af27899e
Author
Phil Nash ·
Parents
5eb7748a55a8

Files · Download .tar.gz

Changes

 include/reporters/catch_reporter_bases.hpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/reporters/catch_reporter_bases.hpp b/include/reporters/catch_reporter_bases.hpp
index e5684b32..865dc29e 100644
--- a/include/reporters/catch_reporter_bases.hpp
+++ b/include/reporters/catch_reporter_bases.hpp
@@ -44,7 +44,6 @@ namespace Catch {
         }
         virtual void testCaseEnded( TestCaseStats const& /* _testCaseStats */ ) {
             currentTestCaseInfo.reset();
-            assert( m_sectionStack.empty() );
         }
         virtual void testGroupEnded( TestGroupStats const& /* _testGroupStats */ ) {
             currentGroupInfo.reset();