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

Unified Diff: test/splitting/imports.unit

Issue 1257443002: Split before "deferred" if present. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 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 | « test/regression/361.unit ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/splitting/imports.unit
diff --git a/test/splitting/imports.unit b/test/splitting/imports.unit
index d3e82880848aa6ccfd10f6051ca639a2ac19ebe2..64a379ae7a7132d5cedb7909b25407b3eead65c1 100644
--- a/test/splitting/imports.unit
+++ b/test/splitting/imports.unit
@@ -8,6 +8,11 @@ import 'package:some/very/long/import/path.dart' as path;
<<<
import 'package:some/very/long/import/path.dart'
as path;
+>>> split before deferred
+import 'package:some/very/long/import/path.dart' deferred as path;
+<<<
+import 'package:some/very/long/import/path.dart'
+ deferred as path;
>>> import keeps shows on one line
import 'foo.dart'show Ape,Bear,Cat;
<<<
« no previous file with comments | « test/regression/361.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698