aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortimmywil <timmywillisn@gmail.com>2011-09-20 09:58:20 -0400
committertimmywil <timmywillisn@gmail.com>2011-09-20 09:58:20 -0400
commitb03648c2a3d94a8516d3e15905d1b13bbaed4a2f (patch)
tree9fcf2a0e2055eff81d062aa9d4b45362cba47bba
parent63c9719330668f0165da1390e3aa53d4011aa0c2 (diff)
downloadjquery-b03648c2a3d94a8516d3e15905d1b13bbaed4a2f.tar.gz
jquery-b03648c2a3d94a8516d3e15905d1b13bbaed4a2f.zip
Remove stop argument in manipulation test, which no longer sets a timeout
-rw-r--r--test/unit/manipulation.js7
1 files 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( "<div class='red'><span></span></div>" )).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;