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>
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user