Skip to content

Commit a2ad5be

Browse files
committed
Fix path in interpreter test
1 parent 36404ac commit a2ad5be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/run-custom-args/tasty-interpreter/Test.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ object Test {
8484
val out = java.nio.file.Paths.get("out/interpreted")
8585
if (!java.nio.file.Files.exists(out))
8686
java.nio.file.Files.createDirectory(out)
87-
dotty.tools.dotc.Main.process(Array("-classpath", System.getProperty("java.class.path"), "-d", out.toString, "tests/run/" + testFileName), reproter)
87+
88+
val filePath = "tests" + File.separator + "run" + File.separator + testFileName
89+
dotty.tools.dotc.Main.process(Array("-classpath", System.getProperty("java.class.path"), "-d", out.toString, filePath), reproter)
8890

8991
val actualOutput = interpret(out.toString)("Test")
9092

0 commit comments

Comments
 (0)