From: John Resig Date: Thu, 22 Jan 2009 00:11:11 +0000 (+0000) Subject: Tweaked one of the selector tests. X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=b438d8391613d4f66f2c2bbaa89b944b93f3c9ee;p=jquery.git Tweaked one of the selector tests. --- 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"] );