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
Fix XmlReporter always writing first line to stdout
- Commit
40b6ad73df8a2cf9d720f77b3e7ddc7dc11647f1- Author
- Martin Hořeňovský ·
- Parents
30cebd617788
Changes
include/reporters/catch_reporter_xml.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/reporters/catch_reporter_xml.hpp b/include/reporters/catch_reporter_xml.hpp index 153f0e7a..5a954740 100644 --- a/include/reporters/catch_reporter_xml.hpp +++ b/include/reporters/catch_reporter_xml.hpp @@ -20,6 +20,7 @@ namespace Catch { public: XmlReporter( ReporterConfig const& _config ) : StreamingReporterBase( _config ), + m_xml(_config.stream()), m_sectionDepth( 0 ) { m_reporterPrefs.shouldRedirectStdOut = true;