From 72464041771de52ca6b3f8bc79aea84c23af30b6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 4 Apr 2020 17:31:07 -0400 Subject: JSON: implement pattern keys in schema --- libtests/qtest/json/json.out | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libtests/qtest') 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 -- cgit v1.2.3-54-g00ecf