Wrapped Failure Message in CDATA

This commit is contained in:
Adam Timberlake 2014-03-27 12:47:45 +00:00
parent 420a84464e
commit 45a96782ad

View File

@ -5,7 +5,7 @@
<% testsuite.testcases.forEach(function(testcase) { %>
<testcase assertions="<%= testcase.assertions %>" classname="<%- testcase.classname %>" name="<%- testcase.name %>" time="<%= testcase.time %>">
<% testcase.failureMessages.forEach(function(message) { %>
<failure><%= message %></failure>
<failure><![CDATA[<%= message %>]]></failure>
<% }) %>
</testcase>
<% }) %>