diff options
-rw-r--r-- | test/unit/data.js | 7 |
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 ); |