1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-05-02 13:13:52 +00:00

Reset the UnexpectedException report state

This commit is contained in:
Martin Hořeňovský 2017-04-03 11:48:50 +02:00
parent 95d85fb186
commit 6e091d3991

View File

@ -277,6 +277,7 @@ namespace Catch {
m_reporter->sectionStarting( testCaseSection );
Counts prevAssertions = m_totals.assertions;
double duration = 0;
m_shouldReportUnexpected = true;
try {
m_lastAssertionInfo = AssertionInfo( "TEST_CASE", testCaseInfo.lineInfo, std::string(), ResultDisposition::Normal );