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

Unified Diff: test/splitting/arguments.stmt

Issue 1252323003: Allow arguments before and after block-formatted functions. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Update pubspec and changelog. Created 5 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
« no previous file with comments | « test/regression/other/analysis_server.unit ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/splitting/arguments.stmt
diff --git a/test/splitting/arguments.stmt b/test/splitting/arguments.stmt
index bffa08c24aab2c4876751bf99cc03b92f80ca0c2..6a292dc097a32fac0aaad5f66c21105b8af85e5f 100644
--- a/test/splitting/arguments.stmt
+++ b/test/splitting/arguments.stmt
@@ -176,7 +176,7 @@ function([
'other key': value,
'third key': value
});
->>> non-body non-preceding argument forces all bodies to indent
+>>> non-collection non-preceding argument forces all collections to indent
function([element, element, element, element], argument,
{'key': value, 'other key': value, 'third key': value}, () {;});
<<<
@@ -192,7 +192,6 @@ function(
'key': value,
'other key': value,
'third key': value
- },
- () {
- ;
- });
+ }, () {
+ ;
+});
« no previous file with comments | « test/regression/other/analysis_server.unit ('k') | test/splitting/function_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698