diff --git a/package.json b/package.json index 009f9b4..891c223 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "url": "https://github.com/dlmanning/gulp-sass/issues" }, "dependencies": { - "node-sass": "^0.9", + "node-sass": "^1.0", "gulp-util": "^3.0", "map-stream": "~0.1", "vinyl-sourcemaps-apply": "~0.1.1" diff --git a/test/test.js b/test/test.js index 63c2714..19e53dc 100644 --- a/test/test.js +++ b/test/test.js @@ -107,7 +107,7 @@ test('emit error on sass errors', function (t) { new Buffer('body { font \'Comic Sans\'; }')); stream.on('error', function (err) { t.equal(err.message, - 'source string:1: error: property "font" must be followed by a \':\'\n' + 'stdin:1: property "font" must be followed by a \':\'\n' ); t.end(); }); @@ -120,7 +120,7 @@ test('emit error on sass errors when using sync true', function (t) { new Buffer('body { font \'Comic Sans\'; }')); stream.on('error', function (err) { t.equal(err.message, - 'source string:1: error: property "font" must be followed by a \':\'\n' + 'stdin:1: property "font" must be followed by a \':\'\n' ); t.end(); }); @@ -130,7 +130,7 @@ test('emit error on sass errors when using sync true', function (t) { test('call custom error callback when opts.onError is given', function (t) { var stream = gsass({ onError: function (err) { t.equal(err, - 'source string:1: error: property "font" must be followed by a \':\'\n' + 'stdin:1: property "font" must be followed by a \':\'\n' ); t.end(); }}); @@ -139,4 +139,4 @@ test('call custom error callback when opts.onError is given', function (t) { new Buffer('body { font \'Comic Sans\'; }')); stream.write(errorFile); -}); \ No newline at end of file +});