mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 17:14:58 -05:00
Core: simplify "each" stylesheet iteration test
(cherry-picked from fcb6c4d1d6)
Closes gh-2089
This commit is contained in:
@@ -1183,7 +1183,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(){
|
||||
|
||||
Reference in New Issue
Block a user