Index: pkg/analysis_server/test/services/refactoring/rename_library_test.dart |
diff --git a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart |
index 860d6f4a42791b812c8a4d2fbf98233737a369c3..3d249bc28cdcc1f78316710950181ec5e440f691 100644 |
--- a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart |
+++ b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart |
@@ -50,9 +50,6 @@ part of my.app; |
library my.app; |
part 'part.dart'; |
'''); |
- if (!enableNewAnalysisDriver) { |
- index.indexUnit(context.resolveCompilationUnit2(unitSource, testSource)); |
- } |
// configure refactoring |
_createRenameRefactoring(); |
expect(refactoring.refactoringName, 'Rename Library'); |
@@ -80,9 +77,6 @@ part of my . app; |
library my . app; |
part 'part.dart'; |
'''); |
- if (!enableNewAnalysisDriver) { |
- index.indexUnit(context.resolveCompilationUnit2(unitSource, testSource)); |
- } |
// configure refactoring |
_createRenameRefactoring(); |
expect(refactoring.refactoringName, 'Rename Library'); |