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

Unified Diff: pkg/analysis_server/test/analysis/get_errors_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/analysis/get_errors_test.dart
diff --git a/pkg/analysis_server/test/analysis/get_errors_test.dart b/pkg/analysis_server/test/analysis/get_errors_test.dart
index 76ee3f37174368679084bf695fd3b036e9a0cb96..431f5ed76518dc081b9c299b2312d74f99f05114 100644
--- a/pkg/analysis_server/test/analysis/get_errors_test.dart
+++ b/pkg/analysis_server/test/analysis/get_errors_test.dart
@@ -46,16 +46,12 @@ main() {
test_errorInPart() async {
String libPath = '$testFolder/main.dart';
String partPath = '$testFolder/main_part.dart';
- addFile(
- libPath,
- r'''
+ addFile(libPath, r'''
library main;
part 'main_part.dart';
class A {}
''');
- addFile(
- partPath,
- r'''
+ addFile(partPath, r'''
part of main;
class A {}
''');
@@ -81,9 +77,7 @@ class A {}
test_fileWithoutContext() {
// Broken under the new driver.
String file = '/outside.dart';
- addFile(
- file,
- '''
+ addFile(file, '''
main() {
print(42);
}
« no previous file with comments | « pkg/analysis_server/test/abstract_context.dart ('k') | pkg/analysis_server/test/analysis/notification_errors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698