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

Side by Side 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: Add a test. 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 unified diff | Download patch
« no previous file with comments | « lib/src/whitespace.dart ('k') | test/regression/178.unit » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 40 columns | 1 40 columns |
2 >>> leading whitespace before top comment is deleted 2 >>> leading whitespace before top comment is deleted
3 3
4 4
5 // comment 5 // comment
6 <<< 6 <<<
7 // comment 7 // comment
8 >>> 8 >>>
9 //comment one 9 //comment one
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 library a// 177 library a//
178 .b.c; 178 .b.c;
179 <<< 179 <<<
180 library a // 180 library a //
181 .b.c; 181 .b.c;
182 >>> line comment after "." in library 182 >>> line comment after "." in library
183 library a.// 183 library a.//
184 b.c; 184 b.c;
185 <<< 185 <<<
186 library a. // 186 library a. //
187 b.c; 187 b.c;
188 >>> inline block comment between different kinds of directives
189 library a; /* comment */ import 'b.dart';
190 <<<
191 library a;
192
193 /* comment */
194 import 'b.dart';
195 >>> inline block comment between directives
196 import 'a.dart'; /* comment */ import 'b.dart';
197 <<<
198 import 'a.dart';
199 /* comment */
200 import 'b.dart';
201 >>> block comment between directives
202 import 'a.dart'; /* comment */
203 import 'b.dart';
204 <<<
205 import 'a.dart'; /* comment */
206 import 'b.dart';
OLDNEW
« no previous file with comments | « lib/src/whitespace.dart ('k') | test/regression/178.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698