Browse Source

Patch applied from Ville Skytt�, PR#8245.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272537 13f79535-47bb-0310-9956-ffa450edef68
master
Erik Hatcher 23 years ago
parent
commit
f43a1d0628
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java

+ 1
- 2
src/main/org/apache/tools/ant/taskdefs/optional/junit/XMLJUnitResultFormatter.java View File

@@ -276,8 +276,7 @@ public class XMLJUnitResultFormatter implements JUnitResultFormatter, XMLConstan
private void formatOutput(String type, String output) {
Element nested = doc.createElement(type);
rootElement.appendChild(nested);
Text content = doc.createTextNode(output);
nested.appendChild(content);
nested.appendChild(doc.createCDATASection(output));
}

} // XMLJUnitResultFormatter

Loading…
Cancel
Save