Chromium Code Reviews| Index: tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
| diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
| index 61a1e656598eae7c84382714d9490e42efbe8a39..cec769e8ebae67f74d412695c591f2f272b83770 100644 |
| --- a/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
| +++ b/tests/compiler/dart2js/deferred_load_graph_segmentation_test.dart |
| @@ -6,6 +6,7 @@ |
| // to determine which elements can be deferred and which libraries |
| // much be included in the initial download (loaded eagerly). |
| +import 'package:expect/expect.dart'; |
| import 'dart:async' show Future; |
| import 'dart:uri' show Uri; |
| import 'dart:io'; |
| @@ -86,7 +87,7 @@ const lazy = const DeferredLibrary('deferred'); |
| main() { |
| lazy.load().then((_) { |
| - Expect.equals(42, new MyClass().foo(87)); |
| + if (42 != new MyClass().foo(87)) throw "not equal"; |
|
ngeoffray
2013/04/10 09:49:44
Why this change if you're importing expect?
floitsch
2013/04/10 10:46:10
This is inside a Dart script that is generated and
|
| }); |
| } |