From 8dea480c9f065fdac76f848ed9ec7a07fd1e9870 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 22 Jan 2022 14:33:26 -0500 Subject: Allow optional fields in json "schema" checks --- libtests/qtest/json/json.out | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libtests/qtest/json/json.out') diff --git a/libtests/qtest/json/json.out b/libtests/qtest/json/json.out index 1a320dcf..c7cb85a7 100644 --- a/libtests/qtest/json/json.out +++ b/libtests/qtest/json/json.out @@ -21,6 +21,12 @@ top-level object schema array contains other than one item json key ".one.a.r" schema array contains other than one item json key ".two" schema array contains other than one item --- +--- bad schema field type +json key ".a" schema value is not dictionary, array, or string +--- +--- not optional +json key ".three.": key "o" is present in schema but missing in object +--- --- pass --- end of json tests -- cgit v1.2.3-70-g09d2