| Index: test/splitting/function_arguments.stmt
|
| diff --git a/test/splitting/function_arguments.stmt b/test/splitting/function_arguments.stmt
|
| index 3da9e718b3f2adde1a17e554153ab04716d5903d..89c09563b54703a651804d73f69d70fd29db60a6 100644
|
| --- a/test/splitting/function_arguments.stmt
|
| +++ b/test/splitting/function_arguments.stmt
|
| @@ -137,34 +137,30 @@ longFunctionName(() {
|
| }, b: () {
|
| ;
|
| });
|
| ->>> don't nest because of nested 1-arg fn
|
| +>>> do not nest because of nested 1-arg fn
|
| outer(inner(() {body;}));
|
| <<<
|
| outer(inner(() {
|
| body;
|
| }));
|
| ->>> do nest because of nested many-arg fn
|
| +>>> do not nest because of nested many-arg fn
|
| outer(argument, inner(() {body;}));
|
| <<<
|
| -outer(
|
| - argument,
|
| - inner(() {
|
| - body;
|
| - }));
|
| ->>> don't nest because of nested 1-arg method call
|
| -obj.outer(obj.inner(() {body;}));
|
| +outer(argument, inner(() {
|
| + body;
|
| +}));
|
| +>>> do not nest because of nested 1-arg method call
|
| +obj.outer(a.b.c.fn(() {body;}));
|
| <<<
|
| -obj.outer(obj.inner(() {
|
| +obj.outer(a.b.c.fn(() {
|
| body;
|
| }));
|
| ->>> do nest because of nested many-arg method call
|
| -obj.outer(argument, obj.inner(() {body;}));
|
| +>>> do not nest because of nested many-arg method call
|
| +obj.outer(argument, a.b.c.fn(() {body;}));
|
| <<<
|
| -obj.outer(
|
| - argument,
|
| - obj.inner(() {
|
| - body;
|
| - }));
|
| +obj.outer(argument, a.b.c.fn(() {
|
| + body;
|
| +}));
|
| >>> do not force named args to split on positional function
|
| function(argument, () {;},
|
| named: argument, another: argument);
|
|
|