aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a1962df3b..daa822ca7 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -1832,7 +1832,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 );
};