| Index: pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart
|
| diff --git a/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart b/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart
|
| index 9b74f44ac938583b0edea8b9e1a1fc20f3b87454..859f1eba4d45623e2b236730a05a75ed33631bb5 100644
|
| --- a/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart
|
| +++ b/pkg/analysis_server/test/services/refactoring/convert_getter_to_method_test.dart
|
| @@ -24,8 +24,8 @@ main() {
|
| class ConvertGetterToMethodTest extends RefactoringTest {
|
| ConvertGetterToMethodRefactoring refactoring;
|
|
|
| - test_change_function() {
|
| - indexTestUnit('''
|
| + test_change_function() async {
|
| + await indexTestUnit('''
|
| int get test => 42;
|
| main() {
|
| var a = test;
|
| @@ -43,8 +43,8 @@ main() {
|
| ''');
|
| }
|
|
|
| - test_change_method() {
|
| - indexTestUnit('''
|
| + test_change_method() async {
|
| + await indexTestUnit('''
|
| class A {
|
| int get test => 1;
|
| }
|
| @@ -88,15 +88,15 @@ main(A a, B b, C c, D d) {
|
| ''');
|
| }
|
|
|
| - test_change_multipleFiles() {
|
| - indexUnit(
|
| + test_change_multipleFiles() async {
|
| + await indexUnit(
|
| '/other.dart',
|
| r'''
|
| class A {
|
| int get test => 1;
|
| }
|
| ''');
|
| - indexTestUnit('''
|
| + await indexTestUnit('''
|
| import 'other.dart';
|
| class B extends A {
|
| int get test => 2;
|
| @@ -120,8 +120,8 @@ main(A a, B b) {
|
| ''');
|
| }
|
|
|
| - test_checkInitialConditions_syntheticGetter() {
|
| - indexTestUnit('''
|
| + test_checkInitialConditions_syntheticGetter() async {
|
| + await indexTestUnit('''
|
| int test = 42;
|
| main() {
|
| }
|
|
|