X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fevent.js;h=a0857a347a30b0a3dbc5435eb14bd657d40b9708;hb=475f89b6519c95f730ed04cd3dd715f582873e4d;hp=40dc1876421390da90da966d76ab02a08cf053b5;hpb=9e48649729a5d4cd9ce52bcba067ba33a562cb4b;p=jquery.git diff --git a/test/unit/event.js b/test/unit/event.js index 40dc187..a0857a3 100644 --- a/test/unit/event.js +++ b/test/unit/event.js @@ -258,7 +258,7 @@ test("trigger(event, [data], [fn])", function() { var pass = true; try { - jQuery('input:first') + jQuery('#form input:first') .hide() .trigger('focus'); } catch(e) { @@ -330,7 +330,7 @@ test("toggle(Function, Function, ...)", function() { var data = jQuery.data( $div[0], 'events' ); ok( !data, "Unbinding one function from toggle unbinds them all"); }); - +/* test("jQuery(function($) {})", function() { stop(); jQuery(function($) { @@ -346,3 +346,4 @@ test("event properties", function() { start(); }).click(); }); +*/ \ No newline at end of file