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

Unified Diff: packages/dart_style/test/whitespace/blocks.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/whitespace/._switch.stmt ('k') | packages/dart_style/test/whitespace/classes.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/dart_style/test/whitespace/blocks.stmt
diff --git a/packages/dart_style/test/whitespace/blocks.stmt b/packages/dart_style/test/whitespace/blocks.stmt
index 8091a699c19d39aa1b350f72c6ea1f7af30f440b..5ebaffd371679d846501d79107ffa778862c3221 100644
--- a/packages/dart_style/test/whitespace/blocks.stmt
+++ b/packages/dart_style/test/whitespace/blocks.stmt
@@ -54,4 +54,44 @@
var a;
;
;
+}
+>>> force blank line after non-empty local function
+{
+ a() {;}
+ b();
+
+
+ c() {;}d(){;}
+
+
+}
+<<<
+{
+ a() {
+ ;
+ }
+
+ b();
+
+ c() {
+ ;
+ }
+
+ d() {
+ ;
+ }
+}
+>>> do not force blank line after empty local function
+{ a() {} b() {} }
+<<<
+{
+ a() {}
+ b() {}
+}
+>>> do not force blank line after => body local function
+{ a() => null; b() => null; }
+<<<
+{
+ a() => null;
+ b() => null;
}
« no previous file with comments | « packages/dart_style/test/whitespace/._switch.stmt ('k') | packages/dart_style/test/whitespace/classes.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698