diff options
| author | Martin Hořeňovský | 2016-11-26 12:11:23 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2016-11-26 12:11:23 +0100 |
| commit | 40b6ad73df8a2cf9d720f77b3e7ddc7dc11647f1 (patch) | |
| tree | 5a7b04e1495618cf14091ab38d25c76bad8191bc /include | |
| parent | 30cebd617788f6b399297725f97317f9bc462114 (diff) | |
| download | catch3-40b6ad73df8a2cf9d720f77b3e7ddc7dc11647f1.tar.gz | |
Fix XmlReporter always writing first line to stdout
Diffstat (limited to 'include')
| -rw-r--r-- | include/reporters/catch_reporter_xml.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |