| Index: tests/compiler/dart2js/deferred_not_in_main_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_not_in_main_test.dart b/tests/compiler/dart2js/deferred_not_in_main_test.dart
|
| index 65e70fbdaba21ce635f2058e1298d618c19178f5..e2ba40a4c8966473a7dc4e6bd6d1b8a7526138d0 100644
|
| --- a/tests/compiler/dart2js/deferred_not_in_main_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_not_in_main_test.dart
|
| @@ -72,13 +72,12 @@ void main() {
|
| "lib1.dart":"""
|
| library lib1;
|
|
|
| -import 'dart:async';
|
| -@def import 'lib2.dart' as lib2;
|
| +import 'lib2.dart' deferred as lib2;
|
|
|
| const def = const DeferredLibrary('lib2');
|
|
|
| void foo1() {
|
| - def.load().then((_) => lib2.foo2());
|
| + lib1.loadLibrary().then((_) => lib2.foo2());
|
| }
|
| """,
|
| "lib2.dart":"""
|
|
|