Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhil Nash2016-09-22 17:28:46 +0100
committerGitHub2016-09-22 17:28:46 +0100
commitf5d2b2dce8aa2174d2bab5423a2e9984fe92d07c (patch)
treeaa0f772fefc3807377d315f57802e3e89fc75256
parent35f510545d55a831372d3113747bf1314ff4f2ef (diff)
parent02c7e41c7c1d38e26a5b323053d2a68ebe7338df (diff)
downloadcatch3-f5d2b2dce8aa2174d2bab5423a2e9984fe92d07c.tar.gz
Merge pull request #705 from hmich/xml-reporter-trim
Do not trim test case names in the XML reporter.
-rw-r--r--include/reporters/catch_reporter_xml.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/reporters/catch_reporter_xml.hpp b/include/reporters/catch_reporter_xml.hpp
index bbe8780b..000fba35 100644
--- a/include/reporters/catch_reporter_xml.hpp
+++ b/include/reporters/catch_reporter_xml.hpp
@@ -53,7 +53,7 @@ namespace Catch {
virtual void testCaseStarting( TestCaseInfo const& testInfo ) CATCH_OVERRIDE {
StreamingReporterBase::testCaseStarting(testInfo);
- m_xml.startElement( "TestCase" ).writeAttribute( "name", trim( testInfo.name ) );
+ m_xml.startElement( "TestCase" ).writeAttribute( "name", testInfo.name );
if ( m_config->showDurations() == ShowDurations::Always )
m_testCaseTimer.start();