Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1295)

Unified Diff: tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart

Issue 221663005: Load deferred chunks in the right order. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart
index 876dfa3f8f06afba1f34a9631323d3c63c436d1f..afc2b247e8f50903a7dc3ad16a4ab1096d7e4d3d 100644
--- a/tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart
+++ b/tests/compiler/dart2js_extra/deferred/deferred_constant3_test.dart
@@ -13,8 +13,7 @@ const lazy = const DeferredLibrary('deferred_class_library2');
main() {
asyncStart();
- lazy.load().then((bool didLoad) {
- Expect.isTrue(didLoad);
+ lazy.load().then((_) {
Expect.equals(499, lib.C1.value);
Expect.equals(99, lib.C2[0].value);
Expect.equals(42, lib.foo().value);

Powered by Google App Engine
This is Rietveld 408576698