mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Adds failing tests
This commit is contained in:
parent
e18cad6f88
commit
22028e403f
@ -538,10 +538,13 @@ test("jQuery.data supports interoperable hyphenated/camelCase get/set of propert
|
|||||||
"an-object": {},
|
"an-object": {},
|
||||||
"bool-true": true,
|
"bool-true": true,
|
||||||
"bool-false": false,
|
"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 ) {
|
jQuery.each( datas, function( key, val ) {
|
||||||
div.data( key, val );
|
div.data( key, val );
|
||||||
|
Loading…
Reference in New Issue
Block a user