mirror of
https://github.com/less/less.js.git
synced 2026-02-08 05:55:00 -05:00
Ammending previous commit, really fixed this time.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user