X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Fselector.js;h=b8fab08248c0d49c023f6bc586419c330a761fee;hb=3a4bcf8a9ca6d3a986858d2572b356176ae06012;hp=0a5d0bbff0664da890d78b237c4ffa0389e0add8;hpb=872d18c10e8ad1583b3a40671527355aa930aea7;p=jquery.git diff --git a/test/unit/selector.js b/test/unit/selector.js index 0a5d0bb..b8fab08 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -148,7 +148,7 @@ test("class", function() { }); test("name", function() { - expect(11); + expect(14); t( "Name selector", "input[name=action]", ["text1"] ); t( "Name selector with single quotes", "input[name='action']", ["text1"] ); @@ -163,10 +163,14 @@ test("name", function() { same( jQuery("#form").find("input[name=action]").get(), q("text1"), "Name selector within the context of another element" ); same( jQuery("#form").find("input[name='foo[bar]']").get(), q("hidden2"), "Name selector for grouped form element within the context of another element" ); - var a = jQuery('tName1 AtName2 A