From 6e091d399128a55887fb33f57e35bd6cbb32a162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Mon, 3 Apr 2017 11:48:50 +0200 Subject: [PATCH] Reset the UnexpectedException report state --- 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 );