aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorAndy Monat <amonat@gmail.com>2012-03-04 12:54:33 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-04-04 21:38:47 -0400
commitdc337f628c0d2a4f6d691851eb95a622599e38b2 (patch)
tree626c65b7cb06c9ecdc760acfee0d7d12843fc34e /test/unit
parent203a168980ece60213c87a10ac0ad294783d5563 (diff)
downloadjquery-dc337f628c0d2a4f6d691851eb95a622599e38b2.tar.gz
jquery-dc337f628c0d2a4f6d691851eb95a622599e38b2.zip
Fix #11435. Remove obsolete test code.
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/data.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index 7598ba8be..89869f795 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -184,9 +184,6 @@ test(".data()", function() {
var dataObj = div.data();
- // TODO: Remove this hack which was introduced in 1.5.1
- delete dataObj.toJSON;
-
deepEqual( dataObj, {test: "success"}, "data() get the entire data object" );
strictEqual( div.data("foo"), undefined, "Make sure that missing result is still undefined" );
@@ -198,9 +195,6 @@ test(".data()", function() {
dataObj = jQuery.extend(true, {}, jQuery(obj).data());
- // TODO: Remove this hack which was introduced for 1.5.1
- delete dataObj.toJSON;
-
deepEqual( dataObj, { foo: "baz" }, "Retrieve data object from a wrapped JS object (#7524)" );
});