fix integ test

This commit is contained in:
ochafik 2024-06-28 22:54:33 +01:00
parent 9e5f17c7fe
commit f33ad2a099

View file

@ -1330,12 +1330,13 @@ static void test_json_schema() {
})""", })""",
// Passing strings // Passing strings
{ {
R"""({"common": "", "a": "", "b": ""})""", R"""({"common": 0, "a": 0, "b": 0})""",
R"""({"common": "", "a": "", "b": "", "d": "", "c": ""})""", R"""({"common": 0, "a": 0, "b": 0, "d": 0, "c": 0})""",
}, },
// Failing strings // Failing strings
{ {
R"""({})""", R"""({})""",
R"""({"common": "", "a": "", "b": ""})""",
R"""({"a": "", "b": ""})""", R"""({"a": "", "b": ""})""",
R"""({"common": "", "a": "", "b": "", "c": "", "d": ""})""", R"""({"common": "", "a": "", "b": "", "c": "", "d": ""})""",
} }