From: Richard Gibson Date: Wed, 17 Apr 2013 16:23:44 +0000 (-0400) Subject: Followup #13779: Backwards-compatible unit test X-Git-Tag: 2.0.0~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=039371c741335d02e7e486420f4a96b43ec2d585;p=jquery.git Followup #13779: Backwards-compatible unit test (cherry picked from commit 12a101729086ec1f9b8b029cd66971c11959bc33) --- diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index 09b425c8a..7f6867489 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -1577,7 +1577,7 @@ test( "remove() in document order #13779", 1, function() { cleanData = jQuery.cleanData; jQuery.cleanData = function( nodes ) { - last = nodes[0].textContent; + last = jQuery.text( nodes[0] ); cleanData.call( this, nodes ); };