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

Unified Diff: test/splitting/enums.unit

Issue 844653002: Format enums. Fix #120. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: 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
Index: test/splitting/enums.unit
diff --git a/test/splitting/enums.unit b/test/splitting/enums.unit
new file mode 100644
index 0000000000000000000000000000000000000000..d326e40a233a850c90ed59ee44f7f48da31a0cbf
--- /dev/null
+++ b/test/splitting/enums.unit
@@ -0,0 +1,19 @@
+40 columns |
+>>> multiple lines
+enum Primate{BONOBO,CHIMP,GORILLA,ORANGUTAN}
+<<<
+enum Primate {
+ BONOBO,
+ CHIMP,
+ GORILLA,
+ ORANGUTAN
+}
+>>> multiple lines trailing comma
+enum Primate{BONOBO,CHIMP,GORILLA,ORANGUTAN,}
+<<<
+enum Primate {
+ BONOBO,
+ CHIMP,
+ GORILLA,
+ ORANGUTAN,
+}

Powered by Google App Engine
This is Rietveld 408576698