From 0c447434963bbdd6c631acfc38e51022db949a8b Mon Sep 17 00:00:00 2001 From: James Huston Date: Mon, 15 Oct 2012 12:19:20 -0400 Subject: [PATCH] Enforce expects in manipulation.js (https://github.com/jquery/2012-dev-summit/issues/53) Closes gh-963 --- test/unit/manipulation.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 45550e987..738fdf376 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1901,6 +1901,8 @@ test("Guard against exceptions when clearing safeChildNodes", function() { }); test("Ensure oldIE creates a new set on appendTo (#8894)", function() { + expect( 5 ); + strictEqual( jQuery("
").clone().addClass("test").appendTo("
").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.clone" ); strictEqual( jQuery("
").find("p").end().addClass("test").appendTo("
").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.fn.find" ); strictEqual( jQuery("
").text("test").addClass("test").appendTo("
").end().hasClass("test"), false, "Check jQuery.fn.appendTo after jQuery.fn.text" ); -- 2.39.5