From: Robert Katic Date: Tue, 13 Apr 2010 13:11:56 +0000 (+0200) Subject: Ensure that selector is not broken. X-Git-Tag: 1.4.3rc1~72 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7367b524ec6c7cda0a4146e50a5dc6d7764bdef7;p=jquery.git Ensure that selector is not broken. --- diff --git a/test/unit/event.js b/test/unit/event.js index 6d0fd9b57..30324978b 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -210,7 +210,7 @@ test("live/die(Object), delegate/undelegate(String, Object)", function() { expect(6); var clickCounter = 0, mouseoverCounter = 0, - $p = jQuery("#firstp"), $a = $p.find("a").first(); + $p = jQuery("#firstp"), $a = $p.find("a:first"); var events = { click: function( event ) {