X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=test%2Funit%2Fmanipulation.js;h=21ab6afbc3c1f784d7dcdea6d5b30862c5f63390;hb=1a26e41917300708d817e96ca2141a01c982c096;hp=a0ce302811278dacaeb9d8a64f9bab504ce9f1a1;hpb=122e5dcf14291bfbaec23505c68e28b7f82aef85;p=jquery.git diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index a0ce302..21ab6af 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -127,7 +127,7 @@ var testUnwrap = function() { var abcd = jQuery('#unwrap1 > span, #unwrap2 > span').get(), abcdef = jQuery('#unwrap span').get(); - equals( jQuery('#unwrap1 span, #unwrap2 span:first').unwrap().length, 3, 'make #unwrap1 and #unwrap2 go away' ); + equals( jQuery('#unwrap1 span').add('#unwrap2 span:first').unwrap().length, 3, 'make #unwrap1 and #unwrap2 go away' ); same( jQuery('#unwrap > span').get(), abcd, 'all four spans should still exist' ); same( jQuery('#unwrap3 span').unwrap().get(), jQuery('#unwrap3 > span').get(), 'make all b in #unwrap3 go away' );