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

Unified Diff: packages/dart_style/test/splitting/maps.stmt

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 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 | « packages/dart_style/test/splitting/lists.stmt ('k') | packages/dart_style/test/splitting/members.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/splitting/maps.stmt
diff --git a/packages/dart_style/test/splitting/maps.stmt b/packages/dart_style/test/splitting/maps.stmt
index 791eaa7d7718a03bd485fe226fd61eccc02e141d..31da5ab7e2345a2821bfa2bc0e9b07b478591d97 100644
--- a/packages/dart_style/test/splitting/maps.stmt
+++ b/packages/dart_style/test/splitting/maps.stmt
@@ -74,11 +74,13 @@ var map = const {
"foo": "bar",
"fuz": null
};
->>> dangling comma
+>>> trailing comma forces split
var map = {"foo": "bar" , };
<<<
-var map = {"foo": "bar",};
->>> dangling comma multiline
+var map = {
+ "foo": "bar",
+};
+>>> trailing comma multiline
var map = {"foo": "bar", "fuzzy": null , };
<<<
var map = {
« no previous file with comments | « packages/dart_style/test/splitting/lists.stmt ('k') | packages/dart_style/test/splitting/members.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698