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
Initialise unexpectedExceptions in JUnitReporter
- Commit
cf6f9e32535285448cdb668e95a5ea10bc0f3a4b- Author
- Phil Nash ·
- Parents
f193698fb3ff
Changes
include/reporters/catch_reporter_junit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/reporters/catch_reporter_junit.cpp b/include/reporters/catch_reporter_junit.cpp index 787de016..49d913bf 100644 --- a/include/reporters/catch_reporter_junit.cpp +++ b/include/reporters/catch_reporter_junit.cpp @@ -242,7 +242,7 @@ namespace Catch { Timer suiteTimer; std::ostringstream stdOutForSuite; std::ostringstream stdErrForSuite; - unsigned int unexpectedExceptions; + unsigned int unexpectedExceptions = 0; bool m_okToFail = false; };