Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: test/splitting/parameters.unit

Issue 889943004: Indent the parameter list more if the body is a wrapped "=>". Fix #144. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update changelog. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/splitting/constructors.unit ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/splitting/parameters.unit
diff --git a/test/splitting/parameters.unit b/test/splitting/parameters.unit
index 986eaa14ae4ece521ab50098bcd610531a3de14d..56d43f249fd1ec1c6f19b309f4c9c617d926cec4 100644
--- a/test/splitting/parameters.unit
+++ b/test/splitting/parameters.unit
@@ -8,3 +8,9 @@ class Foo {
Foo(this.first, this.second,
this.third, this.fourth);
}
+>>> indent parameters more if body is a wrapped =>
+method(int firstArgument, int argumentTwo) => "very long body that must wrap";
+<<<
+method(int firstArgument,
+ int argumentTwo) =>
+ "very long body that must wrap";
« no previous file with comments | « test/splitting/constructors.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698