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
Unexpected exception are no longer ignored by default
- Commit
da8786b8fdf382c27e2c96015aa6f8a47ef696ae- Author
- Martin Hořeňovský ·
- Parents
55773220623a
Changes
include/internal/catch_run_context.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp index fa326a0f..e6dbd38c 100644 --- a/include/internal/catch_run_context.hpp +++ b/include/internal/catch_run_context.hpp @@ -301,11 +301,9 @@ namespace Catch { catch(...) { // Under CATCH_CONFIG_FAST_COMPILE, unexpected exceptions under REQUIRE assertions // are reported without translation at the point of origin. -#ifdef CATCH_CONFIG_FAST_COMPILE if (m_shouldReportUnexpected) { makeUnexpectedResultBuilder().useActiveException(); } -#endif } m_testCaseTracker->close(); handleUnfinishedSections();