diff options
author | John Resig <jeresig@gmail.com> | 2009-02-17 17:43:05 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-02-17 17:43:05 +0000 |
commit | 4b7e1c906f497784329622d82da08c8646cae7e6 (patch) | |
tree | b68d56d47b84639831e747654d3dd91c0fd365ab /test/unit/selector.js | |
parent | 8d9aa015c18e85f1f0aee1159e7928183483a5fd (diff) | |
download | jquery-4b7e1c906f497784329622d82da08c8646cae7e6.tar.gz jquery-4b7e1c906f497784329622d82da08c8646cae7e6.zip |
Brought back the compareDocumentPosition code. While it is redundant in Firefox it's much faster than using indexOf.
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 a6b0458cd..425ad8c83 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -1,7 +1,7 @@ module("selector"); test("element", function() { - expect(17); + expect(18); reset(); ok( jQuery("*").size() >= 30, "Select all" ); @@ -25,7 +25,7 @@ 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 - //isSet( jQuery("*"), jQuery("*, *"), "Check for duplicates: *, *" ); + isSet( jQuery("*"), jQuery("*, *"), "Check for duplicates: *, *" ); isSet( jQuery("p"), jQuery("p, div p"), "Check for duplicates: p, div p" ); t( "Checking sort order", "h2, h1", ["header", "banner", "userAgent"] ); |