From: jeresig Date: Fri, 15 Oct 2010 02:06:27 +0000 (-0400) Subject: Testing *, * was unnecessary - especially in slower browsers. X-Git-Tag: 1.4.3~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=21d389cceaace3272dede54aa8f92f2429d92e00;p=jquery.git Testing *, * was unnecessary - especially in slower browsers. --- diff --git a/test/unit/selector.js b/test/unit/selector.js index af59fa6f6..622e37e5b 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -1,7 +1,7 @@ module("selector"); test("element", function() { - expect(19); + expect(18); QUnit.reset(); ok( jQuery("*").size() >= 30, "Select all" ); @@ -27,7 +27,6 @@ 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, div p").get(), jQuery("p").get(), "Check for duplicates: p, div p" ); t( "Checking sort order", "h2, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] );