Index: pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart |
index 11f3f8a141b2adc34c3f503dde795ee9f5c20170..a629d3e5bb99a6dc9c83c1510eb10134787eca14 100644 |
--- a/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/convert_method_to_getter_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(ConvertMethodToGetterTest); |
} |
@@ -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 test() => 1; |
} |