aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2013-04-17 12:23:44 -0400
committerRichard Gibson <richard.gibson@gmail.com>2013-04-17 12:25:24 -0400
commit12a101729086ec1f9b8b029cd66971c11959bc33 (patch)
tree9dfcc1cd79c3d8de5efe55a79486050ea8e43bae
parent0100becc91167cfe92aefca52dd9ba29eddb259e (diff)
downloadjquery-12a101729086ec1f9b8b029cd66971c11959bc33.tar.gz
jquery-12a101729086ec1f9b8b029cd66971c11959bc33.zip
Followup #13779: Backwards-compatible unit test
-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 );
};