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

Side by Side Diff: tests/language_strong/super_bound_closure_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 6
7 class A { 7 class A {
8 bar([var optional = 1]) => 498 + optional; 8 bar([var optional = 1]) => 498 + optional;
9 bar2({ namedOptional: 2 }) => 40 + namedOptional; 9 bar2({ namedOptional: 2 }) => 40 + namedOptional;
10 bar3(x, [var optional = 3]) => x + 498 + optional; 10 bar3(x, [var optional = 3]) => x + 498 + optional;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 fooIntercept21() => confuse(super.shuffle)(); 66 fooIntercept21() => confuse(super.shuffle)();
67 fooIntercept22() => confuse(super.shuffle)(2); 67 fooIntercept22() => confuse(super.shuffle)(2);
68 fooIntercept23() => confuse(super.toList)(); 68 fooIntercept23() => confuse(super.toList)();
69 fooIntercept24() => confuse(super.toList)(growable: 77); 69 fooIntercept24() => confuse(super.toList)(growable: 77);
70 fooIntercept25() => confuse(super.lastIndexOf)(-3); 70 fooIntercept25() => confuse(super.lastIndexOf)(-3);
71 fooIntercept26() => confuse(super.lastIndexOf)(-11, -19); 71 fooIntercept26() => confuse(super.lastIndexOf)(-11, -19);
72 fooIntercept27() => confuse(super.lastWhere)(0); 72 fooIntercept27() => confuse(super.lastWhere)(0);
73 fooIntercept28() => confuse(super.lastWhere)(3, orElse: 77); 73 fooIntercept28() => confuse(super.lastWhere)(3, orElse: 77);
74 74
75 bar([var optional]) => -1; /// 01: static type warning 75 bar([var optional]) => -1; // /// 01: static type warning
76 bar2({ namedOptional }) => -1; /// 01: continued 76 bar2({ namedOptional }) => -1; // /// 01: continued
77 bar3(x, [var optional]) => -1; /// 01: continued 77 bar3(x, [var optional]) => -1; // /// 01: continued
78 bar4(x, { namedOptional }) => -1; /// 01: continued 78 bar4(x, { namedOptional }) => -1; /// 01: continued
79 79
80 gee([var optional]) => -1; /// 01: continued 80 gee([var optional]) => -1; // /// 01: continued
81 gee2({ namedOptional }) => -1; /// 01: continued 81 gee2({ namedOptional }) => -1; // /// 01: continued
82 gee3(x, [var optional]) => -1; /// 01: continued 82 gee3(x, [var optional]) => -1; // /// 01: continued
83 gee4(x, { namedOptional }) => -1; /// 01: continued 83 gee4(x, { namedOptional }) => -1; /// 01: continued
84 84
85 add([var optional = 33]) => -1; 85 add([var optional = 33]) => -1;
86 trim({ namedOptional: 22 }) => -1; 86 trim({ namedOptional: 22 }) => -1;
87 sublist(x, [optional = 44]) => -1; 87 sublist(x, [optional = 44]) => -1;
88 splitMapJoin(x, { onMatch: 55, onNonMatch: 66}) => -1; 88 splitMapJoin(x, { onMatch: 55, onNonMatch: 66}) => -1;
89 89
90 shuffle([var optional = 121]) => -1; 90 shuffle([var optional = 121]) => -1;
91 toList({ growable: 2233 }) => -1; 91 toList({ growable: 2233 }) => -1;
92 lastIndexOf(x, [optional = 424]) => -1; 92 lastIndexOf(x, [optional = 424]) => -1;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 Expect.equals(12463, b.fooIntercept21()); 140 Expect.equals(12463, b.fooIntercept21());
141 Expect.equals(12344, b.fooIntercept22()); 141 Expect.equals(12344, b.fooIntercept22());
142 Expect.equals(15364, b.fooIntercept23()); 142 Expect.equals(15364, b.fooIntercept23());
143 Expect.equals(13208, b.fooIntercept24()); 143 Expect.equals(13208, b.fooIntercept24());
144 Expect.equals(14742, b.fooIntercept25()); 144 Expect.equals(14742, b.fooIntercept25());
145 Expect.equals(14291, b.fooIntercept26()); 145 Expect.equals(14291, b.fooIntercept26());
146 Expect.equals(1768, b.fooIntercept27()); 146 Expect.equals(1768, b.fooIntercept27());
147 Expect.equals(1771, b.fooIntercept28()); 147 Expect.equals(1771, b.fooIntercept28());
148 } 148 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698