Merge pull request #2805 from pepsiman:patch-1
PiperOrigin-RevId: 306462650
This commit is contained in:
commit
dcc92d0ab6
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user