Skip to content

Commit

Permalink
🎨 Fix newline issues in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Snugug committed Aug 30, 2015
1 parent 531d307 commit 7a2f4e0
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions tests/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var lintFile = function lintFile (file, options, cb) {
cb(results[0]);
};

describe('rules', function () {
describe('rule', function () {
//////////////////////////////
// Indentation
//////////////////////////////
Expand All @@ -28,7 +28,7 @@ describe('rules', function () {
//////////////////////////////
it('empty line between blocks', function (done) {
lintFile('empty-line-between-blocks.scss', function (data) {
assert.equal(3, data.warningCount);
assert.equal(2, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -58,7 +58,7 @@ describe('rules', function () {
//////////////////////////////
it('extends before declarations', function (done) {
lintFile('extends-before-declarations.scss', function (data) {
assert.equal(5, data.warningCount);
assert.equal(4, data.warningCount);
done();
});
});
Expand All @@ -68,7 +68,7 @@ describe('rules', function () {
//////////////////////////////
it('extends before mixins', function (done) {
lintFile('extends-before-mixins.scss', function (data) {
assert.equal(3, data.warningCount);
assert.equal(2, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -138,7 +138,7 @@ describe('rules', function () {
//////////////////////////////
it('space before brace', function (done) {
lintFile('space-before-brace.scss', function (data) {
assert.equal(4, data.warningCount);
assert.equal(3, data.warningCount);
done();
});
});
Expand Down
2 changes: 1 addition & 1 deletion tests/sass/empty-line-between-blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
.bar {
content: 'baz';
}
}
}
2 changes: 1 addition & 1 deletion tests/sass/extends-before-declarations.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
@extend %waldo;
content: 'where';
}
}
}
2 changes: 1 addition & 1 deletion tests/sass/extends-before-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
@extend %waldo;
@include foo;
@extend %qux;
}
}
2 changes: 1 addition & 1 deletion tests/sass/space-before-brace.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
@include breakpoint{
content: bar;
}
}
}

0 comments on commit 7a2f4e0

Please sign in to comment.