Annotate

tests/json/pass3.json @ 7290:70ab13e81cf5

util.cache: Change behaviour of on_evict (and tests). Now accepts false instead of a function (never evict), or on_evict can return false to prevent eviction.
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Mar 2016 19:08:42 +0000
parent 7237:472736b583fb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7237
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
1 {
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
2 "JSON Test Pattern pass3": {
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
3 "The outermost value": "must be an object or array.",
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4 "In this test": "It is an object."
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
5 }
472736b583fb tests: Add extra tests for util.json
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
6 }