Merge pull request #102 from rschmukler/master

bump to node-sass v1.0
This commit is contained in:
David Manning 2014-10-16 16:26:13 -07:00
commit b6d61d403a
2 changed files with 5 additions and 5 deletions

View file

@ -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"

View file

@ -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);
});
});