Removed over-eager assertion.

Doesn't hold if reporting due to a segfault
#377
This commit is contained in:
Phil Nash 2015-03-04 07:47:43 +00:00
parent 5eb7748a55
commit e04ba5c9f6

View File

@ -44,7 +44,6 @@ namespace Catch {
} }
virtual void testCaseEnded( TestCaseStats const& /* _testCaseStats */ ) { virtual void testCaseEnded( TestCaseStats const& /* _testCaseStats */ ) {
currentTestCaseInfo.reset(); currentTestCaseInfo.reset();
assert( m_sectionStack.empty() );
} }
virtual void testGroupEnded( TestGroupStats const& /* _testGroupStats */ ) { virtual void testGroupEnded( TestGroupStats const& /* _testGroupStats */ ) {
currentGroupInfo.reset(); currentGroupInfo.reset();