| Index: pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| index 08c83de9cac871e78c201cca7414f20d0b441f25..0bf8a6d03f01b451e551145ba50f8e211ffaee72 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/completion_contributor_util.dart
|
| @@ -216,9 +216,10 @@ abstract class DartCompletionContributorTest extends AbstractContextTest {
|
| }
|
|
|
| CompletionSuggestion assertSuggestEnumConst(String completion,
|
| - {bool isDeprecated: false}) {
|
| + {int relevance: DART_RELEVANCE_DEFAULT, bool isDeprecated: false}) {
|
| CompletionSuggestion suggestion =
|
| - assertSuggest(completion, isDeprecated: isDeprecated);
|
| + assertSuggest(completion, relevance: relevance, isDeprecated: isDeprecated);
|
| + expect(suggestion.completion, completion);
|
| expect(suggestion.isDeprecated, isDeprecated);
|
| expect(suggestion.element.kind, protocol.ElementKind.ENUM_CONSTANT);
|
| return suggestion;
|
|
|