| Index: pkg/analysis_server/test/analysis/update_content_test.dart
|
| diff --git a/pkg/analysis_server/test/analysis/update_content_test.dart b/pkg/analysis_server/test/analysis/update_content_test.dart
|
| index 656e06a7a808812fe1bb17d0920c60343f5c759a..6fbc5d8427418c1aae4aaa3c4cf65703acd17b26 100644
|
| --- a/pkg/analysis_server/test/analysis/update_content_test.dart
|
| +++ b/pkg/analysis_server/test/analysis/update_content_test.dart
|
| @@ -107,7 +107,11 @@ class UpdateContentTest extends AbstractAnalysisTest {
|
| server.updateContent('2', {testFile: new RemoveContentOverlay()});
|
| // Validate that at the end the unit was indexed.
|
| await server.onAnalysisComplete;
|
| - verify(server.index.index(anyObject, testUnitMatcher)).times(2);
|
| + if (AnalysisEngine.instance.useTaskModel) {
|
| + verify(server.index.index(anyObject, testUnitMatcher)).times(3);
|
| + } else {
|
| + verify(server.index.index(anyObject, testUnitMatcher)).times(2);
|
| + }
|
| }
|
|
|
| test_multiple_contexts() async {
|
|
|