File tree 1 file changed +2
-2
lines changed
src/partest/scala/tools/partest/nest 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ class Runner(val testFile: File, val suiteRunner: SuiteRunner) {
312
312
*
313
313
* File paths are detected using the absolute path of the test root.
314
314
* A string that looks like a file path is normalized by replacing
315
- * the leading segments (the root) with "$ROOT" and by replacing
315
+ * the leading segments (the root) with "\ $ROOT" and by replacing
316
316
* any Windows backslashes with the one true file separator char.
317
317
*/
318
318
def normalizeLog () {
@@ -765,7 +765,7 @@ class SuiteRunner(
765
765
766
766
def banner = {
767
767
val baseDir = fileManager.compilerUnderTest.parent.toString
768
- def relativize (path : String ) = path.replace(baseDir, " $baseDir" ).replace(PathSettings .srcDir.toString, " $sourceDir" )
768
+ def relativize (path : String ) = path.replace(baseDir, s " $ $baseDir " ).replace(PathSettings .srcDir.toString, " $sourceDir" )
769
769
val vmBin = javaHome + fileSeparator + " bin"
770
770
val vmName = " %s (build %s, %s)" .format(javaVmName, javaVmVersion, javaVmInfo)
771
771
You can’t perform that action at this time.
0 commit comments