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 1c90d2a3a9041ef4644086b550d51b01f9a5baa6..f333fc655075ee0f038fb9c1ce2f9ecdaaea28cc 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 |
@@ -11,12 +11,12 @@ import 'package:analysis_server/src/services/correction/status.dart'; |
import 'package:analysis_server/src/services/refactoring/refactoring.dart'; |
import 'package:analyzer/src/generated/element.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
-import 'package:unittest/unittest.dart'; |
+import '../../utils.dart'; |
import 'abstract_refactoring.dart'; |
main() { |
- groupSep = ' | '; |
+ initializeTestEnvironment(); |
defineReflectiveTests(ConvertGetterToMethodTest); |
} |
@@ -89,7 +89,9 @@ main(A a, B b, C c, D d) { |
} |
test_change_multipleFiles() { |
- indexUnit('/other.dart', r''' |
+ indexUnit( |
+ '/other.dart', |
+ r''' |
class A { |
int get test => 1; |
} |