-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that the xunit reporter emits well-formed XML
XML does not allow certain characters to appear in documents. This change ensures that those restricted characters are replaced by legal characters. This bug means that when a test ends up containing, for example, ANSI color codes (i.e. `[36m<div[39m`) then the generated XML file is invalid and some consumers (such as CircleCI) are unable to parse the contents. Link: https://www.w3.org/TR/2006/REC-xml11-20060816/#charsets
- Loading branch information
1 parent
37deed2
commit c953873
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters