Skip to content

Commit 889bb1e

Browse files
committed
Core: simplify "each" stylesheet iteration test
(cherry-picked from fcb6c4d) Closes gh-2089
1 parent db31206 commit 889bb1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1183,7 +1183,7 @@ test("jQuery.each(Object,Function)", function() {
11831183
jQuery.each( document.styleSheets, function() {
11841184
i++;
11851185
});
1186-
equal( i, 2, "Iteration over document.styleSheets" );
1186+
equal( i, document.styleSheets.length, "Iteration over document.styleSheets" );
11871187
});
11881188

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

0 commit comments

Comments
 (0)