Commit ff21b36e authored by CJ Johnson's avatar CJ Johnson
Browse files

Merge pull request #3513 from victordk13:patch-1

PiperOrigin-RevId: 392665206
parents 62046339 26f9d557
......@@ -4436,15 +4436,15 @@ void XmlUnitTestResultPrinter::OutputXmlTestProperties(
return;
}
*stream << "<" << kProperties << ">\n";
*stream << " <" << kProperties << ">\n";
for (int i = 0; i < result.test_property_count(); ++i) {
const TestProperty& property = result.GetTestProperty(i);
*stream << "<" << kProperty;
*stream << " <" << kProperty;
*stream << " name=\"" << EscapeXmlAttribute(property.key()) << "\"";
*stream << " value=\"" << EscapeXmlAttribute(property.value()) << "\"";
*stream << "/>\n";
}
*stream << "</" << kProperties << ">\n";
*stream << " </" << kProperties << ">\n";
}
// End XmlUnitTestResultPrinter
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment