Skip to content

Commit

Permalink
🐛 fix strictbem *-name-format
Browse files Browse the repository at this point in the history
  • Loading branch information
DanPurdy committed Oct 17, 2016
1 parent c08b4a8 commit 074e47b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/helpers/isStrictBEM.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ describe('helpers - isStrictBEM', function () {
done();
});

it('isStrictBEM - [\'abc_def\' - false]', function (done) {
it('isStrictBEM - [\'abc_def\' - true]', function (done) {

var result = helpers.isStrictBEM('abc_def');

assert.equal(false, result);
assert.equal(true, result);
done();
});

Expand Down
4 changes: 2 additions & 2 deletions tests/rules/function-name-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('function name format - scss', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(10, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -177,7 +177,7 @@ describe('function name format - sass', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(10, data.warningCount);
done();
});
});
Expand Down
4 changes: 2 additions & 2 deletions tests/rules/mixin-name-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ describe('mixin name format - scss', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -177,7 +177,7 @@ describe('mixin name format - sass', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down
4 changes: 2 additions & 2 deletions tests/rules/placeholder-name-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('placeholder name format - scss', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -185,7 +185,7 @@ describe('placeholder name format - sass', function () {
}
]
}, function (data) {
lint.assert.equal(13, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down
4 changes: 2 additions & 2 deletions tests/rules/variable-name-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ describe('variable name format - scss', function () {
}
]
}, function (data) {
lint.assert.equal(12, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down Expand Up @@ -185,7 +185,7 @@ describe('variable name format - sass', function () {
}
]
}, function (data) {
lint.assert.equal(12, data.warningCount);
lint.assert.equal(9, data.warningCount);
done();
});
});
Expand Down

0 comments on commit 074e47b

Please sign in to comment.