Index: tests/compiler/dart2js_extra/deferred/deferred_constant2_test.dart |
diff --git a/tests/compiler/dart2js_extra/deferred/deferred_constant2_test.dart b/tests/compiler/dart2js_extra/deferred/deferred_constant2_test.dart |
index db7e9eb962f60cac8e94718685ad7300073bbd66..cb67911a8d038faa6105ae73375fb5489ab01b32 100644 |
--- a/tests/compiler/dart2js_extra/deferred/deferred_constant2_test.dart |
+++ b/tests/compiler/dart2js_extra/deferred/deferred_constant2_test.dart |
@@ -7,7 +7,7 @@ import 'package:expect/expect.dart'; |
import 'dart:async'; |
-@lazy import 'deferred_class_library2.dart'; |
+@lazy import 'deferred_class_library2.dart' as lib; |
const lazy = const DeferredLibrary('deferred_class_library2'); |
@@ -15,7 +15,7 @@ main() { |
asyncStart(); |
lazy.load().then((bool didLoad) { |
Expect.isTrue(didLoad); |
- Expect.equals(499, C1.value); |
+ Expect.equals(499, lib.C1.value); |
asyncEnd(); |
}); |
} |