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

Unified Diff: test/comments/top_level.unit

Issue 1180443003: Don't allow inline block comments to eat pending newlines. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 6 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/comments/top_level.unit
diff --git a/test/comments/top_level.unit b/test/comments/top_level.unit
index 6eb7405422732c2d97c84edfdd9bf767608ff030..c286d87b6ed20c0d1f65c12a39495b559436a496 100644
--- a/test/comments/top_level.unit
+++ b/test/comments/top_level.unit
@@ -184,4 +184,17 @@ library a.//
b.c;
<<<
library a. //
- b.c;
+ b.c;
+>>> block comment between different kinds of directives
+library a; /* comment */ import 'b.dart';
+<<<
+library a;
+
+/* comment */
+import 'b.dart';
+>>> block comment between directives
+import 'a.dart'; /* comment */ import 'b.dart';
+<<<
+import 'a.dart';
+/* comment */
+import 'b.dart';
« no previous file with comments | « lib/src/whitespace.dart ('k') | test/regression/178.unit » ('j') | test/regression/178.unit » ('J')

Powered by Google App Engine
This is Rietveld 408576698