diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2011-11-17 14:15:42 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2011-11-17 14:15:42 -0500 |
commit | 0de484d48338eda67c4e70e41654eb6593705dfc (patch) | |
tree | 1dbba615d723f53f931606c79200d9fd03664020 | |
parent | dd845a2c0f63f97e74e4d490ee66e12e0bf180c5 (diff) | |
download | jquery-0de484d48338eda67c4e70e41654eb6593705dfc.tar.gz jquery-0de484d48338eda67c4e70e41654eb6593705dfc.zip |
Use .wrapAll to wrap both text nodes in #10812 so IE9 likey.
-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() { |