Skip to content

Commit

Permalink
chore(beautify): fixed beauitfy errors not caught from previous PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLarkInn committed Oct 26, 2016
1 parent fad1db2 commit d370967
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/RuleSet.test.js
Expand Up @@ -270,12 +270,12 @@ describe("RuleSet", function() {
});
describe('when exclude array holds an undefined item', function() {
function errorHasContext(err) {
if (/Expected condition but got falsy value/.test(err)
&& /test/.test(err)
&& /include/.test(err)
&& /exclude/.test(err)
&& /node_modules/.test(err)
&& /undefined/.test(err)) {
if(/Expected condition but got falsy value/.test(err) &&
/test/.test(err) &&
/include/.test(err) &&
/exclude/.test(err) &&
/node_modules/.test(err) &&
/undefined/.test(err)) {
return true;
}
}
Expand Down

0 comments on commit d370967

Please sign in to comment.