Skip to content
Permalink
Browse files

Testing *, * was unnecessary - especially in slower browsers.

  • Loading branch information...
jeresig committed Oct 15, 2010
1 parent 40aa95c commit 21d389cceaace3272dede54aa8f92f2429d92e00
Showing with 1 addition and 2 deletions.
  1. +1 −2 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"] );

0 comments on commit 21d389c

Please sign in to comment.
You can’t perform that action at this time.