git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b69dc84
)
A test was using the old / child selector syntax - updating to the new style.
author
John Resig
<jeresig@gmail.com>
Thu, 21 Aug 2008 17:08:50 +0000
(17:08 +0000)
committer
John Resig
<jeresig@gmail.com>
Thu, 21 Aug 2008 17:08:50 +0000
(17:08 +0000)
test/unit/selector.js
patch
|
blob
|
history
diff --git
a/test/unit/selector.js
b/test/unit/selector.js
index
d4830a8
..
98fa3ca
100644
(file)
--- a/
test/unit/selector.js
+++ b/
test/unit/selector.js
@@
-64,7
+64,7
@@
test("id", function() {
t( "ID Selector, not a child ID", "#form > #option1a", [] );
t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] );
t( "ID Selector, not a child ID", "#form > #option1a", [] );
t( "All Children of ID", "#foo > *", ["sndp", "en", "sap"] );
- t( "All Children of ID with no children", "#firstUL/*", [] );
+ t( "All Children of ID with no children", "#firstUL > *", [] );
jQuery('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>').appendTo('#main');
equals( jQuery("#tName1")[0].id, 'tName1', "ID selector with same value for a name attribute" );
jQuery('<a name="tName1">tName1 A</a><a name="tName2">tName2 A</a><div id="tName1">tName1 Div</div>').appendTo('#main');
equals( jQuery("#tName1")[0].id, 'tName1', "ID selector with same value for a name attribute" );