Index: pkg/analysis_server/test/services/refactoring/rename_import_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart |
index 806eda4f9973af7be0308e2d2e8ca63dbede1883..2dac4748ce2fe3281ef27000bf258f54f400cfb3 100644 |
--- a/pkg/analysis_server/test/services/refactoring/rename_import_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/rename_import_test.dart |
@@ -9,10 +9,11 @@ import 'package:analyzer/src/generated/ast.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
import 'package:unittest/unittest.dart'; |
+import '../../utils.dart'; |
import 'abstract_rename.dart'; |
main() { |
- groupSep = ' | '; |
+ initializeTestEnvironment(); |
defineReflectiveTests(RenameImportTest); |
} |
@@ -31,7 +32,8 @@ class RenameImportTest extends RenameRefactoringTest { |
refactoring.newName = 'test'; |
assertRefactoringStatus( |
refactoring.checkNewName(), RefactoringProblemSeverity.FATAL, |
- expectedMessage: "The new name must be different than the current name."); |
+ expectedMessage: |
+ "The new name must be different than the current name."); |
// empty |
refactoring.newName = ''; |
assertRefactoringStatusOK(refactoring.checkNewName()); |