Commit 889bb1e3 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Core: simplify "each" stylesheet iteration test

(cherry-picked from fcb6c4d1d6552c7e54df16a36b171858bdf0553f)
Closes gh-2089
parent db31206d
...@@ -1183,7 +1183,7 @@ test("jQuery.each(Object,Function)", function() { ...@@ -1183,7 +1183,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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment