Testing *, * was unnecessary - especially in slower browsers.
This commit is contained in:
parent
40aa95c320
commit
21d389ccea
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
module("selector");
|
module("selector");
|
||||||
|
|
||||||
test("element", function() {
|
test("element", function() {
|
||||||
expect(19);
|
expect(18);
|
||||||
QUnit.reset();
|
QUnit.reset();
|
||||||
|
|
||||||
ok( jQuery("*").size() >= 30, "Select all" );
|
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' );
|
ok( jQuery("#lengthtest input").length, '<input name="length"> cannot be found under IE, see #945' );
|
||||||
|
|
||||||
// Check for unique-ness and sort order
|
// 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" );
|
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, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] );
|
||||||
|
|
Loading…
Reference in a new issue