X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=src%2Fselector%2FselectorTest.js;h=945455ce36f40b3baa65e7445f013cac4a40b441;hb=955fdb87a72e0d85676db932eda9f6a4319306d9;hp=aded7cd2f002d0308e43d3231443fc71ab44d36d;hpb=d7b73ea5c7440c49c804b3cafe67e84aafbdd064;p=jquery.git diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js index aded7cd..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", "#object1 param", ["param1", "param2"] ); - ok( $("param", $("#object1")[0]).length == 2, "Object/param as context" ); + ok( $("param", "#object1").length == 2, "Object/param as context" ); }); test("expressions - id", function() {