Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_local_test.dart

Issue 2975253002: Format analyzer, analysis_server, analyzer_plugin, front_end and kernel with the latest dartfmt. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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}) {

Powered by Google App Engine
This is Rietveld 408576698