From b438d8391613d4f66f2c2bbaa89b944b93f3c9ee Mon Sep 17 00:00:00 2001 From: John Resig Date: Thu, 22 Jan 2009 00:11:11 +0000 Subject: [PATCH] Tweaked one of the selector tests. --- test/unit/selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/selector.js b/test/unit/selector.js index a648e33..11112a5 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -295,7 +295,7 @@ test("pseudo (:) selectors", function() { t( "Check position filtering", "select:lt(2) :not(:first)", ["option1b", "option1c", "option1d", "option2a", "option2b", "option2c", "option2d"] ); t( "Check position filtering", "div.nothiddendiv:eq(0)", ["nothiddendiv"] ); t( "Check position filtering", "div.nothiddendiv:last", ["nothiddendiv"] ); - t( "Check position filtering", "div.nothiddendiv:not(:gt(0))", ["nothiddendiv"] ); + t( "Check position filtering", "div.nothiddendiv:not(:lt(0))", ["nothiddendiv"] ); t( "Check element position", "div div:eq(0)", ["nothiddendivchild"] ); t( "Check element position", "div div:eq(5)", ["fadeout"] ); -- 1.7.10.4