From: Rick Waldron Date: Fri, 5 Aug 2011 14:17:02 +0000 (-0400) Subject: Adds failing tests X-Git-Tag: 1.6.3rc1~21^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=22028e403f6ae68b5985fbe6a849dd670897664f;p=jquery.git Adds failing tests --- 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 );