aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/qtest/json
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-04-04 23:31:07 +0200
committerJay Berkenbilt <ejb@ql.org>2020-04-05 00:06:32 +0200
commit72464041771de52ca6b3f8bc79aea84c23af30b6 (patch)
tree8d8a309a0be0e1563542e4d16d02564440d3837a /libtests/qtest/json
parent67d5ed3a64a81f9192c17dc71f02e69f60f8a1f8 (diff)
downloadqpdf-72464041771de52ca6b3f8bc79aea84c23af30b6.tar.zst
JSON: implement pattern keys in schema
Diffstat (limited to 'libtests/qtest/json')
-rw-r--r--libtests/qtest/json/json.out4
1 files changed, 3 insertions, 1 deletions
diff --git a/libtests/qtest/json/json.out b/libtests/qtest/json/json.out
index f06cc1fb..ad668e51 100644
--- a/libtests/qtest/json/json.out
+++ b/libtests/qtest/json/json.out
@@ -1,11 +1,13 @@
--- top-level type mismatch
top-level object is supposed to be a dictionary
---
---- top-level type mismatch
+--- missing items
json key "./one./a": key "/q" is present in schema but missing in object
json key "./one./a./r" is supposed to be a dictionary
json key "./one./a./s" is supposed to be an array
json key "./one./a": key "/t" is not present in schema but appears in object
+json key "./three./anything": key "/z" is present in schema but missing in object
+json key "./three./anything": key "/x" is not present in schema but appears in object
json key "./two.1": key "/glarp" is present in schema but missing in object
json key "./two.1": key "/flarp" is not present in schema but appears in object
json key "./two.2" is supposed to be a dictionary