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

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

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.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
Index: packages/dart_style/test/regression/other/angular.unit
diff --git a/packages/dart_style/test/regression/other/angular.unit b/packages/dart_style/test/regression/other/angular.unit
new file mode 100644
index 0000000000000000000000000000000000000000..add59be8c2f32d870b34db01d3410a1d36fc527b
--- /dev/null
+++ b/packages/dart_style/test/regression/other/angular.unit
@@ -0,0 +1,45 @@
+>>> (indent 4)
+ main() {
+ it('should expose traverse locals', () {
+ expect(parser('a.b').bind({
+ 'a': {'b': 6}
+ }, ContextLocals.wrapper)({
+ 'a': {'b': 1}
+ }))
+ .toEqual(1);
+ });
+ }
+<<<
+ main() {
+ it('should expose traverse locals', () {
+ expect(parser('a.b').bind({
+ 'a': {'b': 6}
+ }, ContextLocals.wrapper)({
+ '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 | « packages/dart_style/test/regression/other/analysis_server.unit ('k') | packages/dart_style/test/regression/other/chains.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698