| OLD | NEW |
| 1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'package:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 | 6 |
| 7 class C { | 7 class C { |
| 8 final t; | 8 final t; |
| 9 final x; | 9 final x; |
| 10 C([this.t, this.x = 3]); | 10 C([this.t, this.x = 3]); |
| 11 } | 11 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 37 Expect.equals(2, foo(1, 2)); | 37 Expect.equals(2, foo(1, 2)); |
| 38 var a = new A(); | 38 var a = new A(); |
| 39 Expect.equals(3, a.a(1)); | 39 Expect.equals(3, a.a(1)); |
| 40 Expect.equals(2, a.a(1, 2)); | 40 Expect.equals(2, a.a(1, 2)); |
| 41 a.b(1, 2, 3); | 41 a.b(1, 2, 3); |
| 42 a.b(); | 42 a.b(); |
| 43 var b = new B(); | 43 var b = new B(); |
| 44 Expect.equals(2, b.t); | 44 Expect.equals(2, b.t); |
| 45 Expect.equals(3, b.x); | 45 Expect.equals(3, b.x); |
| 46 } | 46 } |
| OLD | NEW |