diff options
-rw-r--r-- | test/unit/manipulation.js | 2 |
1 files changed, 1 insertions, 1 deletions
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("<div/>").parent().text(), "()", "correctly appended text" ); + equal( res.wrapAll("<div/>").parent().text(), "()", "correctly appended text" ); }); test("insertBefore(String|Element|Array<Element>|jQuery)", function() { |