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

Unified Diff: test/splitting/arguments.stmt

Issue 2181743002: Always split collections and argument lists with trailing commas. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 4 years, 5 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
Index: test/splitting/arguments.stmt
diff --git a/test/splitting/arguments.stmt b/test/splitting/arguments.stmt
index 9ca049da8bf7528499432dfe9bea77a6e2584f84..398b97479e6d9525b706add31ebf22fea2b1e21e 100644
--- a/test/splitting/arguments.stmt
+++ b/test/splitting/arguments.stmt
@@ -201,13 +201,17 @@ function(
;
});
>>> trailing comma
-functionn(argument,argument ,argument , );
+fn(argument,argument ,argument , );
<<<
-functionn(
- argument, argument, argument,);
+fn(
+ argument,
+ argument,
+ argument,
+);
>>> trailing comma in named argument list
-function(named: argument,another:argument, );
+fn(named: argument,another:argument, );
<<<
-function(
- named: argument,
- another: argument,);
+fn(
+ named: argument,
+ another: argument,
+);

Powered by Google App Engine
This is Rietveld 408576698