| Index: pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| diff --git a/pkg/analysis_server/test/services/refactoring/rename_local_test.dart b/pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| index 3c795b1627caf2ac87af3776b7db19ad89ee0ba6..9fad28ef7fb7e5a2798b4a946cd66d71b584bf9c 100644
|
| --- a/pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| +++ b/pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| @@ -242,36 +242,6 @@ main() {
|
| assertRefactoringStatusOK(refactoring.checkNewName());
|
| }
|
|
|
| - test_checkNewName_LocalVariableElement_const() {
|
| - indexTestUnit('''
|
| -main() {
|
| - const int TEST = 0;
|
| -}
|
| -''');
|
| - createRenameRefactoringAtString('TEST = 0;');
|
| - // null
|
| - refactoring.newName = null;
|
| - assertRefactoringStatus(
|
| - refactoring.checkNewName(),
|
| - RefactoringProblemSeverity.FATAL,
|
| - expectedMessage: "Constant name must not be null.");
|
| - // empty
|
| - refactoring.newName = '';
|
| - assertRefactoringStatus(
|
| - refactoring.checkNewName(),
|
| - RefactoringProblemSeverity.FATAL,
|
| - expectedMessage: "Constant name must not be empty.");
|
| - // same
|
| - refactoring.newName = 'TEST';
|
| - assertRefactoringStatus(
|
| - refactoring.checkNewName(),
|
| - RefactoringProblemSeverity.FATAL,
|
| - expectedMessage: "The new name must be different than the current name.");
|
| - // OK
|
| - refactoring.newName = 'NEW_NAME';
|
| - assertRefactoringStatusOK(refactoring.checkNewName());
|
| - }
|
| -
|
| test_checkNewName_ParameterElement() {
|
| indexTestUnit('''
|
| main(test) {
|
|
|