aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg Gaidarenko <markelog@gmail.com>2015-12-22 16:24:23 +0300
committerOleg Gaidarenko <markelog@gmail.com>2015-12-22 16:24:23 +0300
commit4e0c67d6df9b5b909a3973633dfb725b3ba165cc (patch)
tree065e79e1db494b6bbdb0992e10bfc0c78923b70f /test
parentc43ea04c543be06f0985484a740c172587d7a8dd (diff)
downloadjquery-4e0c67d6df9b5b909a3973633dfb725b3ba165cc.tar.gz
jquery-4e0c67d6df9b5b909a3973633dfb725b3ba165cc.zip
Revert "Data: camelCasing should not ignore case"
This reverts commit cf16f860b05b7bffeb2382a0a55bb85c69b2abb5.
Diffstat (limited to 'test')
-rw-r--r--test/unit/data.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index 0ccd8c96c..b78b43090 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -883,25 +883,6 @@ QUnit.test( ".data always sets data with the camelCased key (gh-2257)", function
} );
QUnit.test(
- ".data should not strip more than one hyphen when camelCasing (gh-2070)",
- function( assert ) {
- assert.expect( 3 );
- var div = jQuery( "<div data-nested-single='single' data-nested--double='double' data-nested---triple='triple'></div>" ).appendTo( "#qunit-fixture" ),
- allData = div.data();
-
- assert.equal(
- allData.nestedSingle, "single", "Key is correctly camelCased"
- );
- assert.equal(
- allData[ "nested-Double" ], "double", "Key with double hyphens is correctly camelCased"
- );
- assert.equal(
- allData[ "nested--Triple" ], "triple", "Key with triple hyphens is correctly camelCased"
- );
- }
-);
-
-QUnit.test(
".data supports interoperable hyphenated/camelCase get/set of" +
" properties with arbitrary non-null|NaN|undefined values",
function( assert ) {