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

Side by Side Diff: tests/language/implicit_super_constructor_call_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 // This is a regression test for http://dartbug.com/22723. 5 // This is a regression test for http://dartbug.com/22723.
6 6
7 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
8 8
9 class A { 9 class A {
10 final x; 10 final x;
11 11
12 @NoInline() 12 @NoInline()
13 A({this.x: "foo"}) { 13 A({this.x: "foo"}) {
14 Expect.equals("foo", x.toString()); 14 Expect.equals("foo", x.toString());
15 } 15 }
16 } 16 }
17 17
18 class C extends A { 18 class C extends A {
19 C(foobar) { } 19 C(foobar) {}
20 } 20 }
21 21
22 main() { 22 main() {
23 var c = new C(499); 23 var c = new C(499);
24 Expect.equals("foo", c.x.toString()); 24 Expect.equals("foo", c.x.toString());
25 } 25 }
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698