| Index: pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
|
| index 1b2ca1c67101e6e78b76b4b6e05bfecd9b0d8fcd..0a14ef1c21ffb0e6f1555c11bc2432fb0d477e72 100644
|
| --- a/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/dart/arglist_contributor_test.dart
|
| @@ -31,15 +31,19 @@ class ArgListContributorTest extends DartCompletionContributorTest {
|
|
|
| void assertSuggestArgumentList(
|
| List<String> paramNames, List<String> paramTypes) {
|
| - CompletionSuggestionKind csKind = CompletionSuggestionKind.ARGUMENT_LIST;
|
| - CompletionSuggestion cs = getSuggest(csKind: csKind);
|
| - if (cs == null) {
|
| - failedCompletion('expected completion $csKind', suggestions);
|
| - }
|
| - assertSuggestArgumentList_params(
|
| - paramNames, paramTypes, cs.parameterNames, cs.parameterTypes);
|
| - expect(cs.relevance, DART_RELEVANCE_HIGH);
|
| - assertNoOtherSuggestions([cs]);
|
| + // DEPRECATED... argument lists are no longer suggested.
|
| + // See https://github.com/dart-lang/sdk/issues/25197
|
| + assertNoSuggestions(kind: CompletionSuggestionKind.ARGUMENT_LIST);
|
| +
|
| + // CompletionSuggestionKind csKind = CompletionSuggestionKind.ARGUMENT_LIST;
|
| + // CompletionSuggestion cs = getSuggest(csKind: csKind);
|
| + // if (cs == null) {
|
| + // failedCompletion('expected completion $csKind', suggestions);
|
| + // }
|
| + // assertSuggestArgumentList_params(
|
| + // paramNames, paramTypes, cs.parameterNames, cs.parameterTypes);
|
| + // expect(cs.relevance, DART_RELEVANCE_HIGH);
|
| + // assertNoOtherSuggestions([cs]);
|
| }
|
|
|
| void assertSuggestArgumentList_params(
|
|
|