Commit 97cbd766 authored by John Resig's avatar John Resig

Fix the order of the element test arguments.

parent 90a4abd5
...@@ -27,8 +27,8 @@ test("element", function() { ...@@ -27,8 +27,8 @@ test("element", function() {
ok( jQuery("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' ); ok( jQuery("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' );
// Check for unique-ness and sort order // Check for unique-ness and sort order
same( jQuery("*").get(), jQuery("*, *").get(), "Check for duplicates: *, *" ); 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("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, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] );
t( "Checking sort order", "h2:first, h1:first", ["qunit-header", "qunit-banner"] ); t( "Checking sort order", "h2:first, h1:first", ["qunit-header", "qunit-banner"] );
......
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