bump to node-sass v1.0
This commit is contained in:
parent
052a674d36
commit
553e6ea857
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue