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 0529bf8 commit f9a573dCopy full SHA for f9a573d
compiler/test/dotty/tools/dotc/coverage/CoverageTests.scala
@@ -36,7 +36,7 @@ class CoverageTests:
36
def fixWindowsPaths(lines: Buffer[String]): Buffer[String] =
37
val separator = java.io.File.separatorChar
38
if separator != '/' then
39
- lines.map(_.replace("\\" + separator, "/")) // escape the separator
+ lines.map(_.replace(separator, '/'))
40
else
41
lines
42
end fixWindowsPaths
0 commit comments