get the map file outputting and reference file from the end of the css file

This commit is contained in:
Luke Page
2013-07-19 06:54:02 +01:00
parent 536bfa273c
commit 8c3e304966
5 changed files with 22 additions and 5 deletions

View File

@@ -58,7 +58,7 @@ function getErrorPathReplacementFunction(dir) {
}
function testSourcemap(name, err, compiledLess, doReplacements, sourcemap) {
fs.readFile(path.join('test/sourcemaps', name) + '.json', 'utf8', function (e, expectedSourcemap) {
fs.readFile(path.join('test/', name) + '.json', 'utf8', function (e, expectedSourcemap) {
sys.print("- " + name + ": ");
if (sourcemap === expectedSourcemap) {
ok('OK');