| Index: pkg/analysis_server/test/services/completion/arglist_contributor_test.dart
|
| diff --git a/pkg/analysis_server/test/services/completion/arglist_contributor_test.dart b/pkg/analysis_server/test/services/completion/arglist_contributor_test.dart
|
| index 0f391e8a5b2ddafb88cd4849be73c8e68344df32..433448b154169f98fe82308a62ca7d0c862ce6e9 100644
|
| --- a/pkg/analysis_server/test/services/completion/arglist_contributor_test.dart
|
| +++ b/pkg/analysis_server/test/services/completion/arglist_contributor_test.dart
|
| @@ -42,8 +42,10 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
| assertNoOtherSuggestions([cs]);
|
| }
|
|
|
| - void assertSuggestArgumentList_params(List<String> expectedNames,
|
| - List<String> expectedTypes, List<String> actualNames,
|
| + void assertSuggestArgumentList_params(
|
| + List<String> expectedNames,
|
| + List<String> expectedTypes,
|
| + List<String> actualNames,
|
| List<String> actualTypes) {
|
| if (actualNames != null &&
|
| actualNames.length == expectedNames.length &&
|
| @@ -118,7 +120,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_0() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect() { }
|
| @@ -136,7 +140,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_1() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg) { }
|
| @@ -154,7 +160,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_2() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2) { }
|
| @@ -172,7 +180,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_3() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2, {bool arg3}) { }
|
| @@ -190,7 +200,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_3a() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2, {bool arg3}) { }
|
| @@ -208,7 +220,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_3b() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2, {bool arg3}) { }
|
| @@ -226,7 +240,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_3c() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2, {bool arg3}) { }
|
| @@ -244,7 +260,9 @@ class ArgListContributorTest extends AbstractCompletionTest {
|
|
|
| test_ArgumentList_imported_function_3d() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| expect(String arg1, int arg2, {bool arg3}) { }
|
| @@ -462,7 +480,9 @@ main() { f("16", radix: ^);}''');
|
|
|
| test_ArgumentList_local_method_0() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| void baz() { }''');
|
| @@ -480,7 +500,9 @@ main() { f("16", radix: ^);}''');
|
|
|
| test_ArgumentList_local_method_2() {
|
| // ArgumentList MethodInvocation ExpressionStatement Block
|
| - addSource('/libA.dart', '''
|
| + addSource(
|
| + '/libA.dart',
|
| + '''
|
| library A;
|
| bool hasLength(int expected) { }
|
| void baz() { }''');
|
|
|