| 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 import '../../../async_helper.dart'; | 5 import 'package:async_helper/async_helper.dart'; |
| 6 | |
| 7 import 'package:expect/expect.dart'; | 6 import 'package:expect/expect.dart'; |
| 8 | 7 |
| 9 import 'dart:async'; | 8 import 'dart:async'; |
| 10 | 9 |
| 11 @lazy import 'deferred_class_library.dart'; | 10 @lazy import 'deferred_class_library.dart'; |
| 12 | 11 |
| 13 const lazy = const DeferredLibrary('deferred_class_library'); | 12 const lazy = const DeferredLibrary('deferred_class_library'); |
| 14 | 13 |
| 15 main() { | 14 main() { |
| 16 var x; | 15 var x; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 40 Expect.equals(42, x.foo(87)); | 39 Expect.equals(42, x.foo(87)); |
| 41 Expect.listEquals(const [const Constant(42)], [new Constant(42)]); | 40 Expect.listEquals(const [const Constant(42)], [new Constant(42)]); |
| 42 asyncEnd(); | 41 asyncEnd(); |
| 43 }); | 42 }); |
| 44 Expect.equals(0, counter); | 43 Expect.equals(0, counter); |
| 45 Expect.isNull(x); | 44 Expect.isNull(x); |
| 46 Expect.isNull(const Constant(42)); | 45 Expect.isNull(const Constant(42)); |
| 47 Expect.isNull(const [const Constant(42)]); | 46 Expect.isNull(const [const Constant(42)]); |
| 48 Expect.isNull(x); | 47 Expect.isNull(x); |
| 49 } | 48 } |
| OLD | NEW |