diff options
-rw-r--r-- | test/test/CompilerTest.scala | 8 | ||||
-rw-r--r-- | tests/run/origins.check | 6 |
2 files changed, 5 insertions, 9 deletions
diff --git a/test/test/CompilerTest.scala b/test/test/CompilerTest.scala index 995244986..1977d21e0 100644 --- a/test/test/CompilerTest.scala +++ b/test/test/CompilerTest.scala @@ -438,12 +438,8 @@ abstract class CompilerTest { processFileDir(sourceFile, { sf => if (extensionsToCopy.contains(sf.extension)) { dest.parent.jfile.mkdirs - dest.toFile.writeAll("/* ==========================================\n", - " * ========= AUTOMATICALLY GENERATED ========\n", - " * ========= DO NOT EDIT THIS FILE ==========\n", - " * ==========================================\n", - " * Original: " + sf.toString + " */\n\n", - sf.slurp()) + dest.toFile.writeAll("/* !!!!! WARNING: DO NOT MODIFY. Original is at: $sf !!!!! */", + sf.slurp()) } else { log(s"WARNING: ignoring $sf") } diff --git a/tests/run/origins.check b/tests/run/origins.check index db9bf29a4..54d58296b 100644 --- a/tests/run/origins.check +++ b/tests/run/origins.check @@ -1,6 +1,6 @@ >> Origins tag 'boop' logged 65 calls from 3 distinguished sources. - 50 Test$.$anonfun$f3$1(origins.scala:22) - 10 Test$.$anonfun$f2$1(origins.scala:21) - 5 Test$.$anonfun$f1$1(origins.scala:20) + 50 Test$.$anonfun$f3$1(origins.scala:16) + 10 Test$.$anonfun$f2$1(origins.scala:15) + 5 Test$.$anonfun$f1$1(origins.scala:14) |