Issue 586: Update tests
Add test against bad indentation if named args are after newline.
This commit is contained in:
parent
bf56024154
commit
0c7c86f031
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue