Skip to content

Commit 21d389c

Browse files
committed
Testing *, * was unnecessary - especially in slower browsers.
1 parent 40aa95c commit 21d389c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/unit/selector.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module("selector");
22

33
test("element", function() {
4-
expect(19);
4+
expect(18);
55
QUnit.reset();
66

77
ok( jQuery("*").size() >= 30, "Select all" );
@@ -27,7 +27,6 @@ test("element", function() {
2727
ok( jQuery("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' );
2828

2929
// Check for unique-ness and sort order
30-
same( jQuery("*, *").get(), jQuery("*").get(), "Check for duplicates: *, *" );
3130
same( jQuery("p, div p").get(), jQuery("p").get(), "Check for duplicates: p, div p" );
3231

3332
t( "Checking sort order", "h2, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] );

0 commit comments

Comments
 (0)