diff --git a/test/unit/core.js b/test/unit/core.js index 9bcd08fff..bdc822451 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1199,7 +1199,7 @@ test("jQuery.each(Object,Function)", function() { jQuery.each( document.styleSheets, function() { i++; }); - equal( i, 2, "Iteration over document.styleSheets" ); + equal( i, document.styleSheets.length, "Iteration over document.styleSheets" ); }); test("jQuery.makeArray", function(){