diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 0e8941621..f690b721d 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -799,7 +799,7 @@ test("before and after w/ empty object (#10812)", function() { var res = jQuery( "#notInTheDocument" ).before( "(" ).after( ")" ); equal( res.length, 2, "didn't choke on empty object" ); - equal( res.wrap("
").parent().text(), "()", "correctly appended text" ); + equal( res.wrapAll("
").parent().text(), "()", "correctly appended text" ); }); test("insertBefore(String|Element|Array<Element>|jQuery)", function() {