| Index: dart/tests/try/poi/apply_updates_test.dart
|
| diff --git a/dart/tests/try/poi/apply_updates_test.dart b/dart/tests/try/poi/apply_updates_test.dart
|
| index 8d7943592a69f474b1908c9f861c1fd6e2d8d073..303bdddcb942b4ccf5274863ee4f7c0ae933ba85 100644
|
| --- a/dart/tests/try/poi/apply_updates_test.dart
|
| +++ b/dart/tests/try/poi/apply_updates_test.dart
|
| @@ -10,6 +10,7 @@ import 'dart:convert' show
|
| UTF8;
|
|
|
| import 'package:dart2js_incremental/library_updater.dart' show
|
| + IncrementalCompilerContext,
|
| LibraryUpdater,
|
| Update;
|
|
|
| @@ -37,8 +38,11 @@ class ApplyUpdateTestCase extends LibraryUpdaterTestCase {
|
| PartialFunctionElement before = library.localLookup(expectedUpdate);
|
| var beforeNode = before.parseNode(compiler);
|
|
|
| + 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);
|
|
|