Core: simplify "each" stylesheet iteration test

Closes gh-2089
This commit is contained in:
Oleg Gaidarenko 2015-02-13 21:50:24 +03:00
parent 2d5c5d213f
commit fcb6c4d1d6

View File

@ -1199,7 +1199,7 @@ test("jQuery.each(Object,Function)", function() {
jQuery.each( document.styleSheets, function() { jQuery.each( document.styleSheets, function() {
i++; i++;
}); });
equal( i, 2, "Iteration over document.styleSheets" ); equal( i, document.styleSheets.length, "Iteration over document.styleSheets" );
}); });
test("jQuery.makeArray", function(){ test("jQuery.makeArray", function(){