X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=7280ab90087bbcb2513751e30c1ba4e910ffb513;hb=e287007f6a129901a07b6a342d0c7bfa36a7a868;hp=eee1740d6361d99c959eccbe1d3db98169772cb1;hpb=a2fc65fd3296931486974a3b362949ebc1a01062;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index eee1740..7280ab9 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -834,8 +834,10 @@ test("val(String)", function() { ok( $("#select1").val() == "3", "Check for modified (via val(String)) value of select element" ); }); +var scriptorder = 0; + test("html(String)", function() { - expect(3); + expect(9); var div = $("div"); div.html("test"); var pass = true; @@ -850,6 +852,8 @@ test("html(String)", function() { $("#main").html('foo
'); + $("#main").html("