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

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_class_member_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_class_member_test.dart
diff --git a/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart b/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart
index 22a4657bf2a84ae3985bb518e66ef7b74a1ed8c2..18eb7d2e909be69bc5d5006b5476fe020657191e 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_class_member_test.dart
@@ -132,9 +132,7 @@ class A {
test() {}
}
''');
- await indexUnit(
- '/lib.dart',
- '''
+ await indexUnit('/lib.dart', '''
library my.lib;
import 'test.dart';
@@ -693,9 +691,7 @@ main(var a) {
test_createChange_MethodElement_potential_inPubCache() async {
String pkgLib = '/.pub-cache/lib.dart';
- await indexUnit(
- pkgLib,
- r'''
+ await indexUnit(pkgLib, r'''
processObj(p) {
p.test();
}
@@ -729,9 +725,7 @@ main(var a) {
}
test_createChange_MethodElement_potential_private_otherLibrary() async {
- await indexUnit(
- '/lib.dart',
- '''
+ await indexUnit('/lib.dart', '''
library lib;
main(p) {
p._test();

Powered by Google App Engine
This is Rietveld 408576698