Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unescape the XmlEscape method from XUnit (#7323)
XUnit applies some custom escaping to this particular field. This code is the closest we can come to correctly reversing it so that it can render normally. It will produce incorrect results if a control character is followed by valid hex digits, but there is no way to avoid that, and it should be relatively rare for raw control characters to appear in error messages.
- Loading branch information