aboutsummaryrefslogtreecommitdiff
path: root/test/test/CompilerTest.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/CompilerTest.scala
parent75f4400a738da5e436ed65d6ba8c7fa2d8f4faee (diff)
downloaddotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.tar.gz
dotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.tar.bz2
dotty-2a2f314ebcb1990f334f78f2ca933d197286c6b2.zip
normalize paths for tests
Diffstat (limited to 'test/test/CompilerTest.scala')
-rw-r--r--test/test/CompilerTest.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test/CompilerTest.scala b/test/test/CompilerTest.scala
index 56b9e1099..b56b910bf 100644
--- a/test/test/CompilerTest.scala
+++ b/test/test/CompilerTest.scala
@@ -452,8 +452,7 @@ abstract class CompilerTest {
processFileDir(sourceFile, { sf =>
if (extensionsToCopy.contains(sf.extension)) {
dest.parent.jfile.mkdirs
- dest.toFile.writeAll("/* !!!!! WARNING: DO NOT MODIFY. Original is at: $sf !!!!! */",
- sf.slurp())
+ dest.toFile.writeAll(s"/* !!!!! WARNING: DO NOT MODIFY. Original is at: $sf !!!!! */", sf.slurp)
} else {
log(s"WARNING: ignoring $sf")
}