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

Unified Diff: pkg/analysis_server/test/domain_analysis_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/domain_analysis_test.dart
diff --git a/pkg/analysis_server/test/domain_analysis_test.dart b/pkg/analysis_server/test/domain_analysis_test.dart
index cd25fb0f62743a427a5adbaebc3cec9d5d34a513..172fd22e8db1c0a8e0a85484484edba2d7ee4ae7 100644
--- a/pkg/analysis_server/test/domain_analysis_test.dart
+++ b/pkg/analysis_server/test/domain_analysis_test.dart
@@ -390,9 +390,7 @@ class AnalysisDomainTest extends AbstractAnalysisTest {
test_setRoots_packages() {
// prepare package
String pkgFile = '/packages/pkgA/libA.dart';
- resourceProvider.newFile(
- pkgFile,
- '''
+ resourceProvider.newFile(pkgFile, '''
library lib_a;
class A {}
''');
@@ -680,9 +678,7 @@ class SetSubscriptionsTest extends AbstractAnalysisTest {
test_afterAnalysis_packageFile_external() async {
String pkgFile = '/packages/pkgA/lib/libA.dart';
- resourceProvider.newFile(
- pkgFile,
- '''
+ resourceProvider.newFile(pkgFile, '''
library lib_a;
class A {}
''');
@@ -711,15 +707,11 @@ main() {
String pkgB = '/pkgA';
String pkgFileA = '$pkgA/lib/libA.dart';
String pkgFileB = '$pkgA/lib/libB.dart';
- resourceProvider.newFile(
- pkgFileA,
- '''
+ resourceProvider.newFile(pkgFileA, '''
library lib_a;
class A {}
''');
- resourceProvider.newFile(
- pkgFileB,
- '''
+ resourceProvider.newFile(pkgFileB, '''
import 'package:pkgA/libA.dart';
main() {
new A();
@@ -749,9 +741,7 @@ main() {
test_afterAnalysis_packageFile_notUsed() async {
String pkgFile = '/packages/pkgA/lib/libA.dart';
- resourceProvider.newFile(
- pkgFile,
- '''
+ resourceProvider.newFile(pkgFile, '''
library lib_a;
class A {}
''');
« no previous file with comments | « pkg/analysis_server/test/context_manager_test.dart ('k') | pkg/analysis_server/test/domain_completion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698