OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 library LibraryPrivateInConstructor; | 5 library LibraryPrivateInConstructor; |
| 6 import "package:expect/expect.dart"; |
6 import "library_private_in_constructor_a.dart"; | 7 import "library_private_in_constructor_a.dart"; |
7 import "library_private_in_constructor_b.dart"; | 8 import "library_private_in_constructor_b.dart"; |
8 | 9 |
9 main() { | 10 main() { |
10 var b = new B(); | 11 var b = new B(); |
11 Expect.equals(499, b.x); | 12 Expect.equals(499, b.x); |
12 Expect.equals(42, b.y); | 13 Expect.equals(42, b.y); |
13 } | 14 } |
OLD | NEW |