mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Removed over-eager assertion.
Doesn't hold if reporting due to a segfault #377
This commit is contained in:
parent
5eb7748a55
commit
e04ba5c9f6
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user