| 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 f5be5da007fb7404698847e6a68d09c7207f4cd1..8533be07c98740240577ff535686bbe4d4bef77d 100644
|
| --- a/pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| +++ b/pkg/analysis_server/test/services/refactoring/rename_local_test.dart
|
| @@ -447,9 +447,7 @@ class A {
|
| A({test});
|
| }
|
| ''');
|
| - await indexUnit(
|
| - '/test2.dart',
|
| - '''
|
| + await indexUnit('/test2.dart', '''
|
| import 'test.dart';
|
| main() {
|
| new A(test: 2);
|
| @@ -465,9 +463,7 @@ class A {
|
| A({newName});
|
| }
|
| ''');
|
| - assertFileChangeResult(
|
| - '/test2.dart',
|
| - '''
|
| + assertFileChangeResult('/test2.dart', '''
|
| import 'test.dart';
|
| main() {
|
| new A(newName: 2);
|
| @@ -476,9 +472,7 @@ main() {
|
| }
|
|
|
| test_createChange_parameter_named_updateHierarchy() async {
|
| - await indexUnit(
|
| - '/test2.dart',
|
| - '''
|
| + await indexUnit('/test2.dart', '''
|
| library test2;
|
| class A {
|
| void foo({int test: 1}) {
|
| @@ -522,9 +516,7 @@ class C extends A {
|
| }
|
| }
|
| ''');
|
| - assertFileChangeResult(
|
| - '/test2.dart',
|
| - '''
|
| + assertFileChangeResult('/test2.dart', '''
|
| library test2;
|
| class A {
|
| void foo({int newName: 1}) {
|
|
|