| Index: pkg/analysis_server/test/services/completion/completion_test_util.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/completion_test_util.dart b/pkg/analysis_server/test/services/completion/completion_test_util.dart
|
| index 2764b5877e8ce56240016cc530e584775acdba85..df476dc7e73376a9d9a363f10f00471406a0201c 100644
|
| --- a/pkg/analysis_server/test/services/completion/completion_test_util.dart
|
| +++ b/pkg/analysis_server/test/services/completion/completion_test_util.dart
|
| @@ -2328,6 +2328,26 @@ abstract class AbstractSelectorSuggestionTest extends AbstractCompletionTest {
|
| });
|
| }
|
|
|
| + test_Literal_list() {
|
| + // ']' ListLiteral ArgumentList MethodInvocation
|
| + addTestSource('main() {var Some; print([^]);}');
|
| + computeFast();
|
| + return computeFull((bool result) {
|
| + assertSuggestLocalVariable('Some', null);
|
| + assertSuggestImportedClass('String');
|
| + });
|
| + }
|
| +
|
| + test_Literal_list2() {
|
| + // SimpleIdentifier ListLiteral ArgumentList MethodInvocation
|
| + addTestSource('main() {var Some; print([S^]);}');
|
| + computeFast();
|
| + return computeFull((bool result) {
|
| + assertSuggestLocalVariable('Some', null);
|
| + assertSuggestImportedClass('String');
|
| + });
|
| + }
|
| +
|
| test_Literal_string() {
|
| // SimpleStringLiteral ExpressionStatement Block
|
| addTestSource('class A {a() {"hel^lo"}}');
|
|
|