diff options
| author | Phil Nash | 2017-11-23 19:14:26 +0000 |
|---|---|---|
| committer | Phil Nash | 2017-11-23 19:14:26 +0000 |
| commit | 9329d97a43b36aa2499ac1bc1e7ed78815ca2584 (patch) | |
| tree | 24bbdef4560291e92f09f56581c5b156c94ba3ad /include/internal/catch_run_context.cpp | |
| parent | 8141a7836fb22d1c19f738549e404263c5639f6c (diff) | |
| download | catch3-9329d97a43b36aa2499ac1bc1e7ed78815ca2584.tar.gz | |
Always debug-break non-inline
Diffstat (limited to 'include/internal/catch_run_context.cpp')
| -rw-r--r-- | include/internal/catch_run_context.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/internal/catch_run_context.cpp b/include/internal/catch_run_context.cpp index d6ab1576..1122885e 100644 --- a/include/internal/catch_run_context.cpp +++ b/include/internal/catch_run_context.cpp @@ -297,11 +297,13 @@ namespace Catch { // Under CATCH_CONFIG_FAST_COMPILE, unexpected exceptions under REQUIRE assertions // are reported without translation at the point of origin. if (m_shouldReportUnexpected) { - AssertionHandler + AssertionHandler handler ( m_lastAssertionInfo.macroName, m_lastAssertionInfo.lineInfo, m_lastAssertionInfo.capturedExpression, - m_lastAssertionInfo.resultDisposition ).useActiveException(); + m_lastAssertionInfo.resultDisposition ); + handler.useActiveException(); + handler.setCompleted(); } } m_testCaseTracker->close(); |