X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fselector%2FselectorTest.js;h=945455ce36f40b3baa65e7445f013cac4a40b441;hb=32f688d303ed3cbb942df421c5bb2ed7a5d5244c;hp=422f84a4f9082ab738dc8365ebab8b3c0abf2edf;hpb=02483b4a593fb5ae9bb3925f6fe9641e31e2828e;p=jquery.git diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js index 422f84a..945455c 100644 --- a/src/selector/selectorTest.js +++ b/src/selector/selectorTest.js @@ -1,14 +1,13 @@ module("selector"); test("expressions - element", function() { - expect(7); + expect(6); ok( $("*").size() >= 30, "Select all" ); t( "Element Selector", "div", ["main","foo"] ); t( "Element Selector", "body", ["body"] ); t( "Element Selector", "html", ["html"] ); t( "Parent Element", "div div", ["foo"] ); - t( "Object/Param element", "#object param", ["param1", "param2"] ); - ok( $("param", $("#object")[0]).length == 2, "Object/param as context" ); + ok( $("param", "#object1").length == 2, "Object/param as context" ); }); test("expressions - id", function() {