zig0

my attempts at zig bootstrapping in C
Log | Files | Refs | README | LICENSE

commit accdd58c3f6d7d2d81fbbc356e9f0b5b28cacc47 (tree)
parent f3664822eb4587891f70e29ef7707da89e70b89b
Author: Motiejus Jakštys <motiejus.jakstys@chronosphere.io>
Date:   Tue, 10 Feb 2026 18:28:20 +0000

parser: port test "2nd arg multiline string many args"

Split "2nd arg multiline string" to match upstream structure
(separate test for "many args" variant) and add missing
testTransform sub-case.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Diffstat:
Mparser_test.zig | 20++++++++++++++++++++
1 file changed, 20 insertions(+), 0 deletions(-)

diff --git a/parser_test.zig b/parser_test.zig @@ -1946,6 +1946,26 @@ test "zig fmt: 2nd arg multiline string" { \\} \\ ); + try testTransform( + \\comptime { + \\ cases.addAsm("hello world linux x86_64", + \\ \\.text + \\ , "Hello, world!\n",); + \\} + , + \\comptime { + \\ cases.addAsm( + \\ "hello world linux x86_64", + \\ \\.text + \\ , + \\ "Hello, world!\n", + \\ ); + \\} + \\ + ); +} + +test "zig fmt: 2nd arg multiline string many args" { try testCanonical( \\comptime { \\ cases.addAsm("hello world linux x86_64",