add relativePath assertion to sync test

This commit is contained in:
Aaron Schloser 2015-12-18 10:38:44 -08:00
parent b3fe81f86a
commit 5e8af62356

View file

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