aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2011-08-05 10:17:02 -0400
committerRick Waldron <waldron.rick@gmail.com>2011-08-05 10:17:02 -0400
commit22028e403f6ae68b5985fbe6a849dd670897664f (patch)
treede3df6f9f93040800182d4e7b76f43bc8ec7d5d8 /test/unit
parente18cad6f88c7b3151722d5b58616badbea75ddf6 (diff)
downloadjquery-22028e403f6ae68b5985fbe6a849dd670897664f.tar.gz
jquery-22028e403f6ae68b5985fbe6a849dd670897664f.zip
Adds failing tests
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/data.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/unit/data.js b/test/unit/data.js
index c62bd1cc1..20e7f92fb 100644
--- a/test/unit/data.js
+++ b/test/unit/data.js
@@ -538,10 +538,13 @@ test("jQuery.data supports interoperable hyphenated/camelCase get/set of propert
"an-object": {},
"bool-true": true,
"bool-false": false,
- "some-json": '{ "foo": "bar" }'
+ "some-json": '{ "foo": "bar" }',
+ "num-1-middle": true,
+ "num-end-2": true,
+ "2-num-start": true
};
- expect( 18 );
+ expect( 24 );
jQuery.each( datas, function( key, val ) {
div.data( key, val );