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 3a77dd7 commit de4d41dCopy full SHA for de4d41d
compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala
@@ -27,7 +27,7 @@ class TraceNameManglingTest extends DottyTest {
27
}
28
29
@Test def escapeBackslashes(): Unit = {
30
- val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT) == "windows"
+ val isWindows = sys.props("os.name").toLowerCase(Locale.ROOT).contains("windows")
31
val filename = if isWindows then "/.scala" else "\\.scala"
32
checkTraceEvents(
33
"""
@@ -46,7 +46,7 @@ class TraceNameManglingTest extends DottyTest {
46
raw"setter /\\_="
47
).map(TraceEvent("typecheck", _))
48
++ Set(
49
- TraceEvent("file", if isWindows then ".scala" else "\\\\.scala")
+ TraceEvent("file", if isWindows then "/.scala" else "\\\\.scala")
50
)
51
52
0 commit comments