Skip to content

Commit

Permalink
Merge pull request #2805 from pepsiman:patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 306462650
  • Loading branch information
mbxx committed Apr 16, 2020
2 parents 71d5df6 + 0b6d567 commit dcc92d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion googletest/src/gtest.cc
Expand Up @@ -4091,7 +4091,7 @@ void XmlUnitTestResultPrinter::OutputXmlTestInfo(::std::ostream* stream,
part.line_number());
const std::string summary = location + "\n" + part.summary();
*stream << " <failure message=\""
<< EscapeXmlAttribute(summary.c_str())
<< EscapeXmlAttribute(summary)
<< "\" type=\"\">";
const std::string detail = location + "\n" + part.message();
OutputXmlCDataSection(stream, RemoveInvalidXmlCharacters(detail).c_str());
Expand Down

0 comments on commit dcc92d0

Please sign in to comment.