| Index: pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart b/pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart
|
| index 75519795056f8aecd471fa2188ba656687af1825..35113b47741bd0dbe5c0890135b0b9f54f219740 100644
|
| --- a/pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/imported_reference_contributor_test.dart
|
| @@ -47,7 +47,6 @@ class ImportedReferenceContributorTest extends AbstractSelectorSuggestionTest {
|
| if (!(contributor as ImportedReferenceContributor).shouldWaitForLowPrioritySuggestions) {
|
| return null;
|
| }
|
| - expect(request.unit.element, isNotNull);
|
| List<CompletionSuggestion> oldSuggestions = request.suggestions;
|
| /*
|
| * Simulate a source change to flush the cached compilation unit
|
| @@ -91,6 +90,7 @@ class ImportedReferenceContributorTest extends AbstractSelectorSuggestionTest {
|
| fail(sb.toString());
|
| }
|
|
|
| + computeFastResult = null;
|
| if (computeFast()) {
|
| expect(request.unit.element, isNull);
|
| assertResultsFromCache(oldSuggestions);
|
|
|