From 9b0aaeebea0d7ad39ae1cf51dac997d475fd06bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Wed, 10 Jan 2007 11:11:04 +0000 Subject: [PATCH] Fixed tests for gt/lt --- src/jquery/coreTest.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/jquery/coreTest.js b/src/jquery/coreTest.js index ed7b52ba8..d8328c9c0 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 -- 2.39.5