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 ); };