X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Ffx.js;h=1204e261cfe432d60839d4e5d8acbaf602384f7f;hb=50c40add5ab530cefbdd09dbdcb641f22b9dc26c;hp=5f6ad3993ef85d89493c65207b591771376c5852;hpb=bdd6aca209fe79bc6a085693008436cce37d5b31;p=jquery.git diff --git a/test/unit/fx.js b/test/unit/fx.js index 5f6ad39..1204e26 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -1,12 +1,13 @@ module("fx"); test("animate(Hash, Object, Function)", function() { - expect(3); + expect(1); stop(); var hash = {opacity: 'show'}; var hashCopy = $.extend({}, hash); $('#foo').animate(hash, 0, function() { ok( hash.opacity == hashCopy.opacity, 'Check if animate changed the hash parameter' ); + start(); }); });