We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dfeb43 commit c7e8d26Copy full SHA for c7e8d26
compiler/test/dotty/tools/vulpix/FileDiff.scala
@@ -22,7 +22,7 @@ object FileDiff {
22
23
// handle check file path mismatch on windows
24
def lineMatch(out: String, expect: String): Boolean =
25
- out == expect || File.separatorChar == '\\' && out.replace('\\', '/') == expect
+ out == expect || File.separatorChar == '\\' && out.replace('\\', '/').stripLineEnd == expect
26
27
def linesMatch =
28
outputLines.length == checkLines.length &&
0 commit comments