diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index eafbf25fc..81ab3e4ef 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -866,7 +866,7 @@ test("clone() on XML nodes", function() { } var testHtml = function(valueObj) { - expect(26); + expect(29); jQuery.scriptorder = 0; @@ -917,16 +917,15 @@ var testHtml = function(valueObj) { jQuery("#main").html(valueObj('
')); - stop(); + jQuery("#main").html(valueObj("")); + jQuery("#main").html(valueObj("")); + jQuery("#main").html(valueObj("")); jQuery("#main").html(valueObj('')); jQuery("#main").html(valueObj('foo ')); - // it was decided that waiting to execute ALL scripts makes sense since nested ones have to wait anyway so this test case is changed, see #1959 jQuery("#main").html(valueObj("