From f33ad2a099813e2295858de491daf99fa4f1def1 Mon Sep 17 00:00:00 2001 From: ochafik Date: Fri, 28 Jun 2024 22:54:33 +0100 Subject: [PATCH] fix integ test --- tests/test-grammar-integration.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test-grammar-integration.cpp b/tests/test-grammar-integration.cpp index 7cafa35b6..baf19e8d7 100644 --- a/tests/test-grammar-integration.cpp +++ b/tests/test-grammar-integration.cpp @@ -1330,12 +1330,13 @@ static void test_json_schema() { })""", // Passing strings { - R"""({"common": "", "a": "", "b": ""})""", - R"""({"common": "", "a": "", "b": "", "d": "", "c": ""})""", + R"""({"common": 0, "a": 0, "b": 0})""", + R"""({"common": 0, "a": 0, "b": 0, "d": 0, "c": 0})""", }, // Failing strings { R"""({})""", + R"""({"common": "", "a": "", "b": ""})""", R"""({"a": "", "b": ""})""", R"""({"common": "", "a": "", "b": "", "c": "", "d": ""})""", }