Skip to content
Permalink
Browse files
A test was using the old / child selector syntax - updating to the ne…
…w style.
  • Loading branch information
jeresig committed Aug 21, 2008
1 parent b69dc84 commit 0865b073f81513056f46296cd2a236ab2ca35703
Showing with 1 addition and 1 deletion.
  1. +1 −1 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( "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" );

0 comments on commit 0865b07

Please sign in to comment.