add relativePath assertion to sync test
This commit is contained in:
parent
b3fe81f86a
commit
5e8af62356
|
@ -148,6 +148,8 @@ describe('gulp-sass -- async compile', function() {
|
|||
err.message.indexOf('test/scss/error.scss').should.not.equal(-1);
|
||||
// Error must include line and column error occurs on
|
||||
err.message.indexOf('on line 2').should.not.equal(-1);
|
||||
// Error must include relativePath property
|
||||
err.relativePath.should.equal('test/scss/error.scss');
|
||||
done();
|
||||
});
|
||||
stream.write(errorFile);
|
||||
|
|
Loading…
Reference in a new issue