Skip to content

Commit a275aa6

Browse files
committed
Merge pull request #466 from hartman/test_allrules
When testing all, probably best to actually test all and not 25
2 parents 086b153 + b404a05 commit a275aa6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/all-rules.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
var Assert = YUITest.Assert,
1414
suite = new YUITest.TestSuite("General Tests for all Rules"),
1515
rules = CSSLint.getRules(),
16-
i, len;
16+
len = rules.length,
17+
i;
1718

18-
for (i=0, len=25; i < len; i++){
19+
for (i=0; i < len; i++){
1920

2021
(function(i, rules){
2122

0 commit comments

Comments
 (0)