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

Side by Side Diff: test/regression/other/angular.unit

Issue 2525553003: Tighten the span around index operators. (Closed)
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « lib/src/source_visitor.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 >>> (indent 4) 1 >>> (indent 4)
2 main() { 2 main() {
3 it('should expose traverse locals', () { 3 it('should expose traverse locals', () {
4 expect(parser('a.b').bind({ 4 expect(parser('a.b').bind({
5 'a': {'b': 6} 5 'a': {'b': 6}
6 }, ContextLocals.wrapper)({ 6 }, ContextLocals.wrapper)({
7 'a': {'b': 1} 7 'a': {'b': 1}
8 })) 8 }))
9 .toEqual(1); 9 .toEqual(1);
10 }); 10 });
(...skipping 24 matching lines...) Expand all
35 @Component( 35 @Component(
36 selector: 'io-controller', 36 selector: 'io-controller',
37 template: r'<content></content>', 37 template: r'<content></content>',
38 map: const { 38 map: const {
39 'attr': '@attr', 39 'attr': '@attr',
40 'expr': '<=>expr', 40 'expr': '<=>expr',
41 'once': '=>!exprOnce', 41 'once': '=>!exprOnce',
42 'ondone': '&onDone', 42 'ondone': '&onDone',
43 'on-optional': '&onOptional' 43 'on-optional': '&onOptional'
44 }) 44 })
45 class IoControllerComponent implements ScopeAware {} 45 class IoControllerComponent implements ScopeAware {}
46 >>> (indent 4)
47 main() {
48 expect(matcher.match(
49 CssSelector.parse("someOtherTag.someOtherClass[someOtherAttr]")[
50 0],
51 selectableCollector))
52 .toEqual(false);
53 }
54 <<<
55 main() {
56 expect(matcher.match(
57 CssSelector
58 .parse("someOtherTag.someOtherClass[someOtherAttr]")[0],
59 selectableCollector))
60 .toEqual(false);
61 }
OLDNEW
« no previous file with comments | « lib/src/source_visitor.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698