diff options
author | John Resig <jeresig@gmail.com> | 2010-09-02 16:15:54 -0400 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2010-09-02 16:15:54 -0400 |
commit | 97cbd76695a69a973760560689d90d98e550ad7b (patch) | |
tree | f1a0620846b759782d7e5e0ef15a7c94bc417e65 /test/unit/selector.js | |
parent | 90a4abd5111e57213059eb80876551ae1fac6c53 (diff) | |
download | jquery-97cbd76695a69a973760560689d90d98e550ad7b.tar.gz jquery-97cbd76695a69a973760560689d90d98e550ad7b.zip |
Fix the order of the element test arguments.
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r-- | test/unit/selector.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js index 459d0d9fc..2c2daceb8 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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"] ); |