Skip to content

Commit 887c74f

Browse files
committed
Fix windows path char in test exception string comparison
1 parent 8475764 commit 887c74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Spectre.Console.Testing/Extensions/TestConsoleExtensions.Exceptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static string WriteNormalizedException(this TestConsole console, Exceptio
3131
return string.Join("\n", NormalizeStackTrace(console.Output)
3232
.NormalizeLineEndings()
3333
.Split(new char[] { '\n' })
34-
.Select(line => line.TrimEnd()));
34+
.Select(line => line.TrimEnd())).Replace(Path.DirectorySeparatorChar, '/');
3535
}
3636

3737
/// <summary>

0 commit comments

Comments
 (0)