aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-11-17 14:15:42 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-11-17 14:15:42 -0500
commit0de484d48338eda67c4e70e41654eb6593705dfc (patch)
tree1dbba615d723f53f931606c79200d9fd03664020
parentdd845a2c0f63f97e74e4d490ee66e12e0bf180c5 (diff)
downloadjquery-0de484d48338eda67c4e70e41654eb6593705dfc.tar.gz
jquery-0de484d48338eda67c4e70e41654eb6593705dfc.zip
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.
-rw-r--r--test/unit/manipulation.js2
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&lt;Element&gt;|jQuery)", function() {