Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit 942cda8

Browse files
ketttYmrward
authored andcommitted
[Unit Tests] let test results display properly in test result pad
1 parent d27e342 commit 942cda8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/addins/MonoDevelop.UnitTesting/Gui/TestResultsPad.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ void ShowTestResult (UnitTest test, UnitTestResult result)
747747
sb.Append ("<span font='");
748748
sb.Append (IdeServices.FontService.MonospaceFontName);
749749
sb.Append ("'>");
750-
using (var sr = new StringReader (result.Message)) {
750+
using (var sr = new StringReader (Escape(result.Message))) {
751751
while (null != (curLineText = sr.ReadLine ())) {
752752
if (curLineText == null) continue;
753753
if (curLine < maxLineNumber) {

0 commit comments

Comments
 (0)