X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=dce86d828e2b18554a67beeca3e3714bf7c6c13b;hb=606b863edaff29035960e4d813b45d63b8d92876;hp=db47856095e3a2f2ce98af219b3b24c083e7f2bb;hpb=62d84e44ac3b4a3673c320514bbf5ac8dc7712d6;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index db47856..dce86d8 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -821,7 +821,7 @@ test("val(String)", function() { }); test("html(String)", function() { - expect(1); + expect(3); var div = $("div"); div.html("test"); var pass = true; @@ -830,8 +830,13 @@ test("html(String)", function() { } ok( pass, "Set HTML" ); - // Ccommented out until we can resolve it - // $("#main").html('').evalScripts(); + stop(); + + $("#main").html(''); + + $("#main").html('foo
'); + + setTimeout( start, 100 ); }); test("filter()", function() {