Index: packages/dart_style/test/regression/0400/0420.unit |
diff --git a/packages/dart_style/test/regression/0400/0420.unit b/packages/dart_style/test/regression/0400/0420.unit |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b4d14ccff4414e1ea4e6559939591865e95595a9 |
--- /dev/null |
+++ b/packages/dart_style/test/regression/0400/0420.unit |
@@ -0,0 +1,35 @@ |
+>>> |
+createSomeObject(String s, Int64 id, |
+ {Map<String, Int64> mapFromStringToInt64}) => null; |
+ |
+main() { |
+ void group() { |
+ void initialize() { |
+ final SOME_SUPER_LONG_CONST = 'Foo'; |
+ var objects = [ |
+ createSomeObject(SOME_SUPER_LONG_CONST, new Int64(1), mapFromStringToInt64: |
+ {'ONE': new Int64(1), 'TWO': new Int64(2), 'THREE': new Int64(3)}), |
+ ]; |
+ } |
+ } |
+} |
+<<< |
+createSomeObject(String s, Int64 id, |
+ {Map<String, Int64> mapFromStringToInt64}) => |
+ null; |
+ |
+main() { |
+ void group() { |
+ void initialize() { |
+ final SOME_SUPER_LONG_CONST = 'Foo'; |
+ var objects = [ |
+ createSomeObject(SOME_SUPER_LONG_CONST, new Int64(1), |
+ mapFromStringToInt64: { |
+ 'ONE': new Int64(1), |
+ 'TWO': new Int64(2), |
+ 'THREE': new Int64(3) |
+ }), |
+ ]; |
+ } |
+ } |
+} |