Skip to content
Browse files
Fix the order of the element test arguments.
  • Loading branch information
jeresig committed Sep 2, 2010
1 parent 90a4abd commit 97cbd76695a69a973760560689d90d98e550ad7b
Showing 1 changed file with 2 additions and 2 deletions.
@@ -27,8 +27,8 @@ test("element", function() {
ok( jQuery("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' );

// Check for unique-ness and sort order
same( jQuery("*").get(), jQuery("*, *").get(), "Check for duplicates: *, *" );
same( jQuery("p").get(), jQuery("p, div p").get(), "Check for duplicates: p, div p" );
same( jQuery("*, *").get(), jQuery("*").get(), "Check for duplicates: *, *" );
same( jQuery("p, div p").get(), jQuery("p").get(), "Check for duplicates: p, div p" );

t( "Checking sort order", "h2, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] );
t( "Checking sort order", "h2:first, h1:first", ["qunit-header", "qunit-banner"] );

0 comments on commit 97cbd76

Please sign in to comment.