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

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

Issue 223373004: Revert "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_constant4_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_constant4_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_constant4_test.dart
index ee4b0d6fe3bd5383ae64553433af5752ecb1e74d..e22d11b09e217d412c2add2bb9c6409afa60f657 100644
--- a/tests/compiler/dart2js_extra/deferred/deferred_constant4_test.dart
+++ b/tests/compiler/dart2js_extra/deferred/deferred_constant4_test.dart
@@ -13,7 +13,8 @@ const lazy = const DeferredLibrary('deferred_class_library2');
main() {
asyncStart();
- lazy.load().then((_) {
+ lazy.load().then((bool didLoad) {
+ Expect.isTrue(didLoad);
// Only Gee2.n888 to make sure no other constant pulls in its super.
Expect.equals(888, new lib.Gee2.n888().value);
asyncEnd();

Powered by Google App Engine
This is Rietveld 408576698