aboutsummaryrefslogtreecommitdiff
path: root/test/test/InterfaceEntryPointTest.scala
diff options
context:
space:
mode:
authorMartijn Hoekstra <martijn.hoekstra@cargoxs.com>2016-08-26 10:49:39 +0200
committerMartijn Hoekstra <Martijn Hoekstra>2016-09-07 21:28:50 +0200
commit2a2f314ebcb1990f334f78f2ca933d197286c6b2 (patch)
tree671db89375a232172afd63f1d91c6fb7d2a2fe2c /test/test/InterfaceEntryPointTest.scala
parent75f4400a738da5e436ed65d6ba8c7fa2d8f4faee (diff)
downloaddotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.tar.gz
dotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.tar.bz2
dotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.zip
normalize paths for tests
Diffstat (limited to 'test/test/InterfaceEntryPointTest.scala')
-rw-r--r--test/test/InterfaceEntryPointTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test/InterfaceEntryPointTest.scala b/test/test/InterfaceEntryPointTest.scala
index b193b5f64..438a9fa47 100644
--- a/test/test/InterfaceEntryPointTest.scala
+++ b/test/test/InterfaceEntryPointTest.scala
@@ -18,7 +18,7 @@ import scala.collection.mutable.ListBuffer
*/
class InterfaceEntryPointTest {
@Test def runCompilerFromInterface = {
- 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 mainClass = Class.forName("dotty.tools.dotc.Main")