Skip to content

Commit 2ce16a7

Browse files
committed
Fix CI failure in [test_windows_full]
1 parent 913d0a8 commit 2ce16a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/run-custom-args/tasty-inspector/tastyPaths.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import scala.quoted._
22
import scala.tasty.inspector._
33

4+
import java.io.File.separator
5+
46
opaque type PhoneNumber = String
57

68
case class I8163() {
@@ -23,7 +25,7 @@ object Test {
2325
class TestInspector() extends Inspector:
2426

2527
def inspect(using Quotes)(tastys: List[Tasty[quotes.type]]): Unit =
26-
println(tastys.map(_.path.split("/tasty-inspector/").last))
28+
println(tastys.map(_.path.split(s"${separator}tasty-inspector$separator").last))
2729
try
2830
quotes.reflect.SourceFile.current
2931
assert(false)

0 commit comments

Comments
 (0)