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

Unified Diff: test/regression/other/angular.unit

Issue 1493553002: Smarter splitting around named collection arguments. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 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 | « test/regression/0400/0421.unit ('k') | test/splitting/list_arguments.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/other/angular.unit
diff --git a/test/regression/other/angular.unit b/test/regression/other/angular.unit
index 4a39473ed9744c90d255444c3533af7e3e08a735..add59be8c2f32d870b34db01d3410a1d36fc527b 100644
--- a/test/regression/other/angular.unit
+++ b/test/regression/other/angular.unit
@@ -18,4 +18,28 @@
'a': {'b': 1}
})).toEqual(1);
});
- }
+ }
+>>>
+@Component(
+ selector: 'io-controller',
+ template: r'<content></content>',
+ map: const {
+ 'attr': '@attr',
+ 'expr': '<=>expr',
+ 'once': '=>!exprOnce',
+ 'ondone': '&onDone',
+ 'on-optional': '&onOptional'
+ })
+class IoControllerComponent implements ScopeAware {}
+<<<
+@Component(
+ selector: 'io-controller',
+ template: r'<content></content>',
+ map: const {
+ 'attr': '@attr',
+ 'expr': '<=>expr',
+ 'once': '=>!exprOnce',
+ 'ondone': '&onDone',
+ 'on-optional': '&onOptional'
+ })
+class IoControllerComponent implements ScopeAware {}
« no previous file with comments | « test/regression/0400/0421.unit ('k') | test/splitting/list_arguments.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698