common/json-schema : fix GBNF grammar generation for empty object schemas (#28279)
This commit is contained in:
@@ -994,7 +994,7 @@ static void test_all(const std::string & lang, std::function<void(const TestCase
|
||||
"additionalProperties": false
|
||||
})""",
|
||||
R"""(
|
||||
root ::= "{" space space "}"
|
||||
root ::= "{" space "}"
|
||||
space ::= | " " | "\n"{1,2} [ \t]{0,20}
|
||||
)"""
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user