Issue 586: Update tests

Add test against bad indentation if named args are after newline.
This commit is contained in:
Daniel Zuncke 2024-02-03 22:58:07 +01:00
parent bf56024154
commit 0c7c86f031
No known key found for this signature in database
GPG Key ID: A2A8C43610B6B485
4 changed files with 27 additions and 0 deletions

View File

@ -26,3 +26,10 @@ void main()
temp(v1: () { S s = S(i: 5); return s.i; }, v2: 1);
}
void g()
{
tmp(namedArg1: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg2: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg3: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc");
}

View File

@ -29,3 +29,10 @@ void main()
temp(v1: () { S s = S(i: 5); return s.i; }, v2: 1);
}
void g()
{
tmp(namedArg1: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg2: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg3: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc");
}

View File

@ -25,3 +25,10 @@ void main()
temp(v1: () { S s = S(i: 5); return s.i; }, v2: 1);
}
void g()
{
tmp(namedArg1: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg2: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg3: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc");
}

View File

@ -22,3 +22,9 @@ void main() {
temp(v1: () { S s = S(i: 5); return s.i; }, v2: 1);
}
void g() {
tmp(namedArg1: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg2: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc",
namedArg3: "abc abc abc abc abc abc abc abc abc abc abc abc abc abc abc");
}