Skip to content

Commit

Permalink
Update node-sass and adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Jun 15, 2016
1 parent 20cf605 commit 7838fcb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fixtures/compiled/errors/error.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ body:before {
padding: 10px;
border: 4px dashed red;
margin-bottom: 10px;
content: "Transpiler error: fusile\00002ffixtures\00002fsource\00002ferrors\00002ferror\00002escss:1:6\00000ainvalid property name";
content: "Transpiler error: fusile/fixtures/source/errors/error\00002escss:1:7\00000aInvalid CSS after \000022body {\000022: expected \000022}\000022\00002c was \000022\000022";
}
2 changes: 1 addition & 1 deletion fixtures/compiled/scss/massive-with-error.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ body:before {
padding: 10px;
border: 4px dashed red;
margin-bottom: 10px;
content: "Transpiler error: \00002fUsers\00002fmunter\00002fgit\00002ffusile\00002ffixtures\00002fsource\00002fscss\00002fmassive\00002dwith\00002derror\00002escss:5:6\00000ainvalid property name";
content: "Transpiler error: \00002fUsers\00002fmunter\00002fgit\00002ffusile\00002ffixtures\00002fsource\00002fscss\00002fmassive\00002dwith\00002derror\00002escss:5:7\00000aInvalid CSS after \000022body {\000022: expected \000022}\000022\00002c was \000022\000022";
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"mocha": "2.5.3",
"mocha-lcov-reporter": "1.0.0",
"myth": "1.5.0",
"node-sass": "3.3.3",
"node-sass": "3.7.0",
"sinon": "1.17.2",
"stylus": "0.52.4",
"swig": "1.4.2",
Expand Down
2 changes: 1 addition & 1 deletion test/errors-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('when files have syntax errors', function () {
})
.delay(1000)
.then(function () {
return whenFs.writeFile(path.join(src, 'errors/error.scss'), 'body {');
return whenFs.writeFile(path.join(src, 'errors/error.scss'), 'body {\n');
})
.then(function () {
return expect(path.join(mnt, 'errors/error.css'), 'to have file content', path.join(compiled, 'errors/error.css'));
Expand Down

0 comments on commit 7838fcb

Please sign in to comment.