From 3a77dd71904c332f1812ecf1a243f67e1f85ec6d Mon Sep 17 00:00:00 2001 From: Wojciech Mazur Date: Wed, 13 Nov 2024 10:49:18 +0100 Subject: [PATCH] Fix expected name of output filename on Windows in TraceNameManglingTest --- .../test/dotty/tools/dotc/profile/TraceNameManglingTest.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala b/compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala index 977b67740f88..216bc31d4315 100644 --- a/compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala +++ b/compiler/test/dotty/tools/dotc/profile/TraceNameManglingTest.scala @@ -46,7 +46,7 @@ class TraceNameManglingTest extends DottyTest { raw"setter /\\_=" ).map(TraceEvent("typecheck", _)) ++ Set( - TraceEvent("file", if isWindows then "/.scala" else "\\\\.scala") + TraceEvent("file", if isWindows then ".scala" else "\\\\.scala") ) ) }