| Index: pkg/analyzer/test/src/task/incremental_element_builder_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
|
| index 8b3bb5d542041fcb1c4cc922998d7b9fa1bfefc1..c4b2955269cf354fc991223f4eb2f615ba1ee4c8 100644
|
| --- a/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
|
| +++ b/pkg/analyzer/test/src/task/incremental_element_builder_test.dart
|
| @@ -1600,7 +1600,8 @@ main() {
|
|
|
| void _buildNewUnit(String newCode) {
|
| this.newCode = newCode;
|
| - AnalysisEngine.instance.limitInvalidationInTaskModel = false;
|
| + AnalysisOptionsImpl analysisOptions = context.analysisOptions;
|
| + analysisOptions.finerGrainedInvalidation = false;
|
| try {
|
| context.setContents(source, newCode);
|
| newUnit = context.parseCompilationUnit(source);
|
| @@ -1622,7 +1623,7 @@ main() {
|
| expect(newUnitFull, isNot(same(newUnit)));
|
| new _BuiltElementsValidator().isEqualNodes(newUnitFull, newUnit);
|
| } finally {
|
| - AnalysisEngine.instance.limitInvalidationInTaskModel = true;
|
| + analysisOptions.finerGrainedInvalidation = true;
|
| }
|
| }
|
|
|
|
|