OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 library lib2; |
| 6 |
| 7 import "package:expect/expect.dart"; |
| 8 import "deferred_static_seperate_lib1.dart"; |
| 9 |
| 10 foo() { |
| 11 Expect.equals(1, C.foo()); |
| 12 Expect.mapEquals({}, C1.foo); |
| 13 |
| 14 Expect.mapEquals({1: 2}, C2.foo); |
| 15 C2.foo = {1: 2}; |
| 16 Expect.mapEquals({1: 2}, C2.foo); |
| 17 |
| 18 Expect.equals(x, C3.foo); |
| 19 Expect.mapEquals({x: x}, C4.foo); |
| 20 Expect.listEquals([const{1: 3}], C5.foo); |
| 21 |
| 22 } |
OLD | NEW |