OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 private_selector_test; | 5 library private_selector_test; |
| 6 |
6 import "package:expect/expect.dart"; | 7 import "package:expect/expect.dart"; |
7 import 'private_selector_lib.dart'; | 8 import 'private_selector_lib.dart'; |
8 | 9 |
9 class B extends A { | 10 class B extends A {} |
10 } | |
11 | 11 |
12 main() { | 12 main() { |
13 new A().public(); | 13 new A().public(); |
14 Expect.isTrue(executed); | 14 Expect.isTrue(executed); |
15 } | 15 } |
OLD | NEW |