From b03648c2a3d94a8516d3e15905d1b13bbaed4a2f Mon Sep 17 00:00:00 2001 From: timmywil Date: Tue, 20 Sep 2011 09:58:20 -0400 Subject: [PATCH] Remove stop argument in manipulation test, which no longer sets a timeout --- test/unit/manipulation.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 3de3fa0b9..64c07498b 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -55,14 +55,13 @@ test("text(Function) with incoming value", function() { var testWrap = function(val) { expect(19); - var defaultText = "Try them out:" + var defaultText = "Try them out:"; var result = jQuery("#first").wrap(val( "
" )).text(); equals( defaultText, result, "Check for wrapping of on-the-fly html" ); ok( jQuery("#first").parent().parent().is(".red"), "Check if wrapper has class 'red'" ); QUnit.reset(); - var defaultText = "Try them out:" - var result = jQuery("#first").wrap(val( document.getElementById("empty") )).parent(); + result = jQuery("#first").wrap(val( document.getElementById("empty") )).parent(); ok( result.is("ol"), "Check for element wrapping" ); equals( result.text(), defaultText, "Check for element wrapping" ); @@ -429,7 +428,7 @@ test("append(Function) with incoming value", function() { test("append the same fragment with events (Bug #6997, 5566)", function () { var doExtra = !jQuery.support.noCloneEvent && document.fireEvent; expect(2 + (doExtra ? 1 : 0)); - stop(1000); + stop(); var element; -- 2.39.5