]> source.dussan.org Git - jquery.git/commitdiff
Adds failing tests
authorRick Waldron <waldron.rick@gmail.com>
Fri, 5 Aug 2011 14:17:02 +0000 (10:17 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Fri, 5 Aug 2011 14:17:02 +0000 (10:17 -0400)
test/unit/data.js

index c62bd1cc10c6d3b9a8c34e3096ad147073d1a8b1..20e7f92fb1cc6976717a105ab1fab54262cfc0c2 100644 (file)
@@ -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 );