From d5b733c70dc5664e9e322fee69ac4d13b1baf8cd Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Mon, 1 Jul 2013 11:10:38 -0700 Subject: Use forward slash in #2637's test on windows Don't use toString to output file names in tests, its output is platform dependent -- use `testIdent` instead. --- test/files/run/t7439/Test_2.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/files/run/t7439/Test_2.scala b/test/files/run/t7439/Test_2.scala index 3ebbcfe753..ce9b907145 100644 --- a/test/files/run/t7439/Test_2.scala +++ b/test/files/run/t7439/Test_2.scala @@ -23,7 +23,8 @@ object Test extends StoreReporterDirectTest { val a1Class = new File(testOutput.path, "A_1.class") assert(a1Class.exists) assert(a1Class.delete()) - println(s"Recompiling after deleting $a1Class") + // testIdent normalizes to separate names using '/' regardless of platform, drops all but last two parts + println(s"Recompiling after deleting ${a1Class.testIdent}") // bad symbolic reference error expected (but no stack trace!) compileCode(C) -- cgit v1.2.3