Purge trailing spaces from grammar generation

This commit is contained in:
Piotr Wilkin
2026-06-15 00:02:32 +02:00
parent c3fad44e50
commit b0827ecb7d
5 changed files with 324 additions and 260 deletions
+2 -2
View File
@@ -4949,14 +4949,14 @@ static void test_template_output_peg_parsers(bool detailed_debug) {
tst.test("Hello, world!\nWhat's up?").tools({ special_function_tool }).expect(message_assist).expect_reconstruction().run();
tst.test(
"```json\n\"42\" \n```")
"```json\n\"42\"\n```")
.reasoning_format(COMMON_REASONING_FORMAT_AUTO)
.json_schema(const_schema)
.expect_content(R"("42")")
.run();
tst.test(
"\"42\" \n")
"\"42\"\n")
.reasoning_format(COMMON_REASONING_FORMAT_AUTO)
.json_schema(const_schema)
.expect_content(R"("42")")