Skip to content

Commit b404a05

Browse files
committed
When testing all, probably best to actually test all and not 25
1 parent 326b50c commit b404a05

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)