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

Unified Diff: pkg/analysis_server/test/services/refactoring/rename_library_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_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 9ba81d4fc065e2c684fb894fd659900839a2fb9a..1acca7dc124a1cbad67f7b79daa69bea2821a1bb 100644
--- a/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
+++ b/pkg/analysis_server/test/services/refactoring/rename_library_test.dart
@@ -40,9 +40,7 @@ library my.app;
}
test_createChange() async {
- addSource(
- '/part.dart',
- '''
+ addSource('/part.dart', '''
part of my.app;
''');
await indexTestUnit('''
@@ -59,17 +57,13 @@ part 'part.dart';
library the.new.name;
part 'part.dart';
''');
- assertFileChangeResult(
- '/part.dart',
- '''
+ assertFileChangeResult('/part.dart', '''
part of the.new.name;
''');
}
test_createChange_hasWhitespaces() async {
- addSource(
- '/part.dart',
- '''
+ addSource('/part.dart', '''
part of my . app;
''');
await indexTestUnit('''
@@ -86,9 +80,7 @@ part 'part.dart';
library the.new.name;
part 'part.dart';
''');
- assertFileChangeResult(
- '/part.dart',
- '''
+ assertFileChangeResult('/part.dart', '''
part of the.new.name;
''');
}

Powered by Google App Engine
This is Rietveld 408576698