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

Unified Diff: pkg/analyzer/test/services/data/style_guide_tests.data

Issue 322483002: Formatter: do not use a space when using < and > for a map literal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/services/data/style_guide_tests.data
diff --git a/pkg/analyzer/test/services/data/style_guide_tests.data b/pkg/analyzer/test/services/data/style_guide_tests.data
index 781516d1431ffea35284940eb069d008a624ebb4..d059c38cdd3c2aaf978ca698862bea5c5f0dd059 100644
--- a/pkg/analyzer/test/services/data/style_guide_tests.data
+++ b/pkg/analyzer/test/services/data/style_guide_tests.data
@@ -153,10 +153,12 @@ flow() {
>>> DON'T use a space after (, [, and {, or before ), ], and }.
spaces() {
var numbers = <int> [ 1, 2,( 3+4 ) ];
+ var mapLiteral = <int, int> {};
}
<<<
spaces() {
var numbers = <int>[1, 2, (3 + 4)];
+ var mapLiteral = <int, int>{};
}
>>> DO use a space before { in function and method bodies.
getEmptyFn(a){
« no previous file with comments | « pkg/analyzer/lib/src/services/formatter_impl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698