diff options
Diffstat (limited to 'test/test/OtherEntryPointsTest.scala')
-rw-r--r-- | test/test/OtherEntryPointsTest.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test/OtherEntryPointsTest.scala b/test/test/OtherEntryPointsTest.scala index 0186b357b..5f8681d38 100644 --- a/test/test/OtherEntryPointsTest.scala +++ b/test/test/OtherEntryPointsTest.scala @@ -17,7 +17,7 @@ import scala.collection.mutable.ListBuffer */ class OtherEntryPointsTest { @Test def runCompiler = { - val sources = List("./tests/pos/HelloWorld.scala") + val sources = List("./tests/pos/HelloWorld.scala").map(p => new java.io.File(p).getPath()) val args = sources ++ List("-d", "./out/") val reporter = new CustomReporter @@ -31,7 +31,7 @@ class OtherEntryPointsTest { } @Test def runCompilerWithContext = { - val sources = List("./tests/pos/HelloWorld.scala") + val sources = List("./tests/pos/HelloWorld.scala").map(p => new java.io.File(p).getPath()) val args = sources ++ List("-d", "./out/") val reporter = new CustomReporter |