Index: tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart |
diff --git a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart |
index 5f21cc5129fa1eaa71e6ce1eb5158107565a7be8..3de5634674dcd9cc9f2acc734eeb866812ec2d7e 100644 |
--- a/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart |
+++ b/tests/compiler/dart2js/deferred_load_graph_segmentation2_test.dart |
@@ -59,7 +59,7 @@ void main() { |
const Map MEMORY_SOURCE_FILES = const {"main.dart": """ |
import "dart:async"; |
-@def import 'lib.dart' show f1; |
+@def import 'lib.dart' as lib show f1; |
import 'lib.dart' show f2; |
const def = const DeferredLibrary("deferred"); |
@@ -67,7 +67,7 @@ const def = const DeferredLibrary("deferred"); |
void main() { |
print(f2()); |
def.load().then((_) { |
- print(f1()); |
+ print(lib.f1()); |
}); |
} |
""", "lib.dart": """ |