… Fixes #7212.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
module("selector"); | ||
|
||
test("element", function() { | ||
expect(18); | ||
expect(21); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
cowboy
Member
|
||
QUnit.reset(); | ||
|
||
ok( jQuery("*").size() >= 30, "Select all" ); | ||
@@ -32,6 +32,11 @@ test("element", function() { | ||
t( "Checking sort order", "h2, h1", ["qunit-header", "qunit-banner", "qunit-userAgent"] ); | ||
t( "Checking sort order", "h2:first, h1:first", ["qunit-header", "qunit-banner"] ); | ||
t( "Checking sort order", "p, p a", ["firstp", "simon1", "ap", "google", "groups", "anchor1", "mark", "sndp", "en", "yahoo", "sap", "anchor2", "simon", "first"] ); | ||
|
||
// Test Conflict ID | ||
same( jQuery("#lengthtest").find("#idTest").get(), q("idTest"), "Finding element with id of ID." ); | ||
same( jQuery("#lengthtest").find("[name='id']").get(), q("idTest"), "Finding element with id of ID." ); | ||
same( jQuery("#lengthtest").find("input[id='idTest']").get(), q("idTest"), "Finding elements with a context." ); | ||
}); | ||
|
||
if ( location.protocol != "file:" ) { | ||
5 comments
on commit 62c83a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does a test change fix a bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actual fix happened in the sizzle source.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Marketing is fun
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Metrics an science lead to
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_Making _big* logos*
press me if you like the number 21!