From 9f41dd57cf501b63d9ab3c452ba800425d87a70b Mon Sep 17 00:00:00 2001 From: meri Date: Fri, 20 Dec 2013 08:59:45 +0100 Subject: [PATCH] Ammending previous commit, really fixed this time. --- build.gradle | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index a9f4bed8..390ff234 100644 --- a/build.gradle +++ b/build.gradle @@ -130,7 +130,6 @@ class DebugRhinoTest extends RhinoTest { def globalReplacements(input, directory) { def pDirectory = toPlatformFs(directory) - println("projectDir: " + projectDir) def p = lessRootDir + fs + pDirectory def pathimport = p + toPlatformFs("import/") def pathesc = escapeIt(p) @@ -156,7 +155,7 @@ class RhinoTest extends DefaultTask { def toUpperCaseDriveLetter(path) { if (path.charAt(1)==':' && path.charAt(2)=='\\') { - return path.substring(0,1).toUpperCase() + path.substring(2); + return path.substring(0,1).toUpperCase() + path.substring(1); } return path; } @@ -248,7 +247,7 @@ class RhinoTest extends DefaultTask { } catch (AssertionError ae) { println stylize(' failed', 'red') -// println ae + println ae testFailures++ } } else {