aboutsummaryrefslogtreecommitdiff
path: root/test/test/OtherEntryPointsTest.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-10-06 11:40:30 +0200
committerGitHub <noreply@github.com>2016-10-06 11:40:30 +0200
commita3064622e7ce4d73ddd91de0fc6bebfe0ec23ae9 (patch)
tree9085c715a63a324088c28ddc25828315d7cb1358 /test/test/OtherEntryPointsTest.scala
parent93d4c8c945540d5df7ee9e8541abcf112439bb1e (diff)
parent46b325373c8ec516be2b6b1c6024ae1c783fbc8f (diff)
downloaddotty-a3064622e7ce4d73ddd91de0fc6bebfe0ec23ae9.tar.gz
dotty-a3064622e7ce4d73ddd91de0fc6bebfe0ec23ae9.tar.bz2
dotty-a3064622e7ce4d73ddd91de0fc6bebfe0ec23ae9.zip
Merge pull request #1494 from martijnhoekstra/wintests
[WIP] fix encoding issues
Diffstat (limited to 'test/test/OtherEntryPointsTest.scala')
-rw-r--r--test/test/OtherEntryPointsTest.scala4
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