fix integ test
This commit is contained in:
parent
9e5f17c7fe
commit
f33ad2a099
1 changed files with 3 additions and 2 deletions
|
@ -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": ""})""",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue