git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jQuery.merge speedup, bug#444
[jquery.git]
/
src
/
jquery
/
coreTest.js
diff --git
a/src/jquery/coreTest.js
b/src/jquery/coreTest.js
index
be39a87
..
25fd4dd
100644
(file)
--- a/
src/jquery/coreTest.js
+++ b/
src/jquery/coreTest.js
@@
-331,11
+331,15
@@
test("expressions - element", function() {
});
\r
\r
test("expressions - id", function() {
\r
});
\r
\r
test("expressions - id", function() {
\r
- expect(5);
\r
+ expect(8);
\r
t( "ID Selector", "#body", ["body"] );
\r
t( "ID Selector w/ Element", "body#body", ["body"] );
\r
t( "ID Selector w/ Element", "ul#first", [] );
\r
\r
t( "ID Selector", "#body", ["body"] );
\r
t( "ID Selector w/ Element", "body#body", ["body"] );
\r
t( "ID Selector w/ Element", "ul#first", [] );
\r
\r
+ t( "ID Selector, child ID present", "#form > #radio1", ["radio1"] ); // bug #267
\r
+ t( "ID Selector, not an ancestor ID", "#form #first", [] );
\r
+ t( "ID Selector, not a child ID", "#form > #option1a", [] );
\r
+
\r
t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] );
\r
t( "All Children of ID with no children", "#firstUL/*", [] );
\r
});
\r
t( "All Children of ID", "#foo/*", ["sndp", "en", "sap"] );
\r
t( "All Children of ID with no children", "#firstUL/*", [] );
\r
});
\r