From 5e8af62356728bc448ed4ffe7c300ceec25f28ee Mon Sep 17 00:00:00 2001 From: Aaron Schloser Date: Fri, 18 Dec 2015 10:38:44 -0800 Subject: [PATCH] add relativePath assertion to sync test --- test/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/main.js b/test/main.js index 0061bd1..02d40e0 100644 --- a/test/main.js +++ b/test/main.js @@ -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);