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
Reset the UnexpectedException report state
- Commit
6e091d399128a55887fb33f57e35bd6cbb32a162- Author
- Martin Hořeňovský ·
- Parents
95d85fb1864e
Changes
include/internal/catch_run_context.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp index 686abd36..fa326a0f 100644 --- a/include/internal/catch_run_context.hpp +++ b/include/internal/catch_run_context.hpp @@ -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 );