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

Unified Diff: test/comments/top_level.unit

Issue 792953003: Visit all components of dotted library name. Fixes #109. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 6 years 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 | « lib/src/source_visitor.dart ('k') | test/regression/109.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/comments/top_level.unit
diff --git a/test/comments/top_level.unit b/test/comments/top_level.unit
index 24dc6f797e1c7513f4628aa47c617737039540ab..6eb7405422732c2d97c84edfdd9bf767608ff030 100644
--- a/test/comments/top_level.unit
+++ b/test/comments/top_level.unit
@@ -164,4 +164,24 @@ part 'a.dart';
>>> before library name
library/* c */foo;
<<<
-library /* c */ foo;
+library /* c */ foo;
+>>> block comment before "." in library
+library a/**/.b.c;
+<<<
+library a /**/ .b.c;
+>>> block comment after "." in library
+library a./**/b.c;
+<<<
+library a. /**/ b.c;
+>>> line comment before "." in library
+library a//
+.b.c;
+<<<
+library a //
+ .b.c;
+>>> line comment after "." in library
+library a.//
+b.c;
+<<<
+library a. //
+ b.c;
« no previous file with comments | « lib/src/source_visitor.dart ('k') | test/regression/109.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698