Skip to content

Commit fcb6c4d

Browse files
committed
Core: simplify "each" stylesheet iteration test
Closes gh-2089
1 parent 2d5c5d2 commit fcb6c4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,7 @@ test("jQuery.each(Object,Function)", function() {
11991199
jQuery.each( document.styleSheets, function() {
12001200
i++;
12011201
});
1202-
equal( i, 2, "Iteration over document.styleSheets" );
1202+
equal( i, document.styleSheets.length, "Iteration over document.styleSheets" );
12031203
});
12041204

12051205
test("jQuery.makeArray", function(){

0 commit comments

Comments
 (0)