| 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 {}
|
|
|