Index: test/splitting/function_arguments.stmt |
diff --git a/test/splitting/function_arguments.stmt b/test/splitting/function_arguments.stmt |
index 89c09563b54703a651804d73f69d70fd29db60a6..b7be6ef255a2330733c12ba327508c673461bcc9 100644 |
--- a/test/splitting/function_arguments.stmt |
+++ b/test/splitting/function_arguments.stmt |
@@ -178,4 +178,26 @@ longFunction(argument, argument, |
}, () { |
; |
}, argument, argument, argument, |
- argument, argument); |
+ argument, argument); |
+>>> all named args with leading non-function forces functions to indent |
+longFunction(a: argument, b: () {;}, c: () {;}); |
+<<< |
+longFunction( |
+ a: argument, |
+ b: () { |
+ ; |
+ }, |
+ c: () { |
+ ; |
+ }); |
+>>> all named args with trailing non-function forces functions to indent |
+longFunction(a: () {;}, b: () {;}, c: argument); |
+<<< |
+longFunction( |
+ a: () { |
+ ; |
+ }, |
+ b: () { |
+ ; |
+ }, |
+ c: argument); |