]> git.evergreen-ils.org Git - OpenSRF.git/commit
Sidestep JSON object ordering in unit tests
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Apr 2011 04:12:41 +0000 (04:12 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 25 Apr 2011 04:12:41 +0000 (04:12 +0000)
commitfe51f53303f03643bf68d75f014cf0ea82b52a24
tree099033ad3d2b4e106d916ce9349f8f676b63e360
parent9ab5a90c08f1b14ffa421457ac645da45f832401
Sidestep JSON object ordering in unit tests

Depending on the JS engine and version of Dojo, the order
of attributes in JSON objects may change (as is explicitly
allowed by the JSON spec). To avoid false test failures,
only use one attribute in the object.

git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@2232 9efc2488-bf62-4759-914b-345cdb29e865
src/javascript/tests/testJSON_v1.js