X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fjquery%2FcoreTest.js;h=d8328c9c04537f238c2a645cea695fb6e5a862b1;hb=62303ad5efa11f0524dde236c91e8cb33ca87b3e;hp=ed7b52ba8408908934ec2b8d40085bd15d7b1191;hpb=200319ea6b6a59daebce1cfc1d330a9d52c208c0;p=jquery.git diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index ed7b52b..d8328c9 100644 --- a/src/jquery/coreTest.js +++ b/src/jquery/coreTest.js @@ -644,7 +644,7 @@ test("empty()", function() { test("eq(), gt(), lt(), contains()", function() { ok( $("#ap a").eq(1)[0].id == "groups", "eq()" ); - ok( $("#ap a").gt(1).get(), q("groups", "anchor1", "mark"), "gt()" ); - ok( $("#ap a").lt(2).get(), q("google", "groups", "anchor1"), "lt()" ); - ok( $("#foo a").contains("log").get(), q("anchor2", "simon"), "contains()" ); + isSet( $("#ap a").gt(0).get(), q("groups", "anchor1", "mark"), "gt()" ); + isSet( $("#ap a").lt(3).get(), q("google", "groups", "anchor1"), "lt()" ); + isSet( $("#foo a").contains("log").get(), q("anchor2", "simon"), "contains()" ); }); \ No newline at end of file