| Index: dart/tests/try/poi/library_updater_test.dart
|
| diff --git a/dart/tests/try/poi/library_updater_test.dart b/dart/tests/try/poi/library_updater_test.dart
|
| index d97dbed83fefdbaeeffaee6383173b90558ad9d8..d40b50a65426120b37af13bd9f19c59b6f88bff3 100644
|
| --- a/dart/tests/try/poi/library_updater_test.dart
|
| +++ b/dart/tests/try/poi/library_updater_test.dart
|
| @@ -9,6 +9,7 @@ import 'dart:convert' show
|
| UTF8;
|
|
|
| import 'package:dart2js_incremental/library_updater.dart' show
|
| + IncrementalCompilerContext,
|
| LibraryUpdater,
|
| Update;
|
|
|
| @@ -34,8 +35,10 @@ class LibraryUpdaterTestCase extends CompilerTestCase {
|
| super(before);
|
|
|
| Future run() => loadMainApp().then((LibraryElement library) {
|
| + var context = new IncrementalCompilerContext();
|
| LibraryUpdater updater =
|
| - new LibraryUpdater(this.compiler, null, scriptUri, nolog, nolog);
|
| + new LibraryUpdater(this.compiler, null, nolog, nolog, context);
|
| + context.registerUriWithUpdates([scriptUri]);
|
| bool actualCanReuse =
|
| updater.canReuseLibrary(library, UTF8.encode(newSource));
|
| Expect.equals(expectedCanReuse, actualCanReuse);
|
|
|