Skip to content

Commit 22028e4

Browse files
committed
Adds failing tests
1 parent e18cad6 commit 22028e4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/unit/data.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,13 @@ test("jQuery.data supports interoperable hyphenated/camelCase get/set of propert
538538
"an-object": {},
539539
"bool-true": true,
540540
"bool-false": false,
541-
"some-json": '{ "foo": "bar" }'
541+
"some-json": '{ "foo": "bar" }',
542+
"num-1-middle": true,
543+
"num-end-2": true,
544+
"2-num-start": true
542545
};
543546

544-
expect( 18 );
547+
expect( 24 );
545548

546549
jQuery.each( datas, function( key, val ) {
547550
div.data( key, val );

0 commit comments

Comments
 (0)