| Index: test/splitting/type_arguments.stmt
|
| diff --git a/test/splitting/type_arguments.stmt b/test/splitting/type_arguments.stmt
|
| index 2ba351a414c80609af4129254ffe8e96d23b0c86..96751533735e65a71ee761c0924d93bda34c0c0c 100644
|
| --- a/test/splitting/type_arguments.stmt
|
| +++ b/test/splitting/type_arguments.stmt
|
| @@ -65,4 +65,33 @@ new SomeClass<
|
| {
|
| <int>[];
|
| <int>[];
|
| -}
|
| +}
|
| +>>> type arguments on invocation expressions, all on one line
|
| +(fn)<T, S>(1, 2);
|
| +<<<
|
| +(fn)<T, S>(1, 2);
|
| +>>> type arguments on invocation, prefer to not split at type args
|
| +(longFunction)<TypeArgument>(valueArgument);
|
| +<<<
|
| +(longFunction)<TypeArgument>(
|
| + valueArgument);
|
| +>>> type arguments on invocation expressions split both type and value arguments
|
| +(longFunction)<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth>(first, second, third, fourth, fifth, sixth, seventh, eighth);
|
| +<<<
|
| +(longFunction)<
|
| + First,
|
| + Second,
|
| + Third,
|
| + Fourth,
|
| + Fifth,
|
| + Sixth,
|
| + Seventh,
|
| + Eighth>(
|
| + first,
|
| + second,
|
| + third,
|
| + fourth,
|
| + fifth,
|
| + sixth,
|
| + seventh,
|
| + eighth);
|
|
|