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

Unified Diff: pkg/analyzer/test/generated/package_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
« no previous file with comments | « pkg/analyzer/test/generated/non_hint_code_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/generated/package_test.dart
diff --git a/pkg/analyzer/test/generated/package_test.dart b/pkg/analyzer/test/generated/package_test.dart
index 03cceff9cee7bc6ae7f5896b600fdfdd7f1aad5e..241078ba48c5ea1a5288e262d162f2164204f149 100644
--- a/pkg/analyzer/test/generated/package_test.dart
+++ b/pkg/analyzer/test/generated/package_test.dart
@@ -35,21 +35,15 @@ class DependencyFinderTest extends ResolverTestCase {
String packageA = resourceProvider.convertPath('/pub-cache/a-1.0');
String packageB = resourceProvider.convertPath('/pub-cache/b-1.0');
String packageC = resourceProvider.convertPath('/pub-cache/c-1.0');
- resourceProvider.newFile(
- '$packageA/$pubspecName',
- '''
+ resourceProvider.newFile('$packageA/$pubspecName', '''
dependencies:
b: any
''');
- resourceProvider.newFile(
- '$packageB/$pubspecName',
- '''
+ resourceProvider.newFile('$packageB/$pubspecName', '''
dependencies:
c: any
''');
- resourceProvider.newFile(
- '$packageC/$pubspecName',
- '''
+ resourceProvider.newFile('$packageC/$pubspecName', '''
dependencies:
a: any
''');
@@ -94,22 +88,16 @@ class DependencyFinderTest extends ResolverTestCase {
String packageB = resourceProvider.convertPath('/pub-cache/b-1.0');
String packageC = resourceProvider.convertPath('/pub-cache/c-1.0');
String packageD = resourceProvider.convertPath('/pub-cache/d-1.0');
- resourceProvider.newFile(
- '$packageA/$pubspecName',
- '''
+ resourceProvider.newFile('$packageA/$pubspecName', '''
dependencies:
b: any
c: any
''');
- resourceProvider.newFile(
- '$packageB/$pubspecName',
- '''
+ resourceProvider.newFile('$packageB/$pubspecName', '''
dependencies:
d: any
''');
- resourceProvider.newFile(
- '$packageC/$pubspecName',
- '''
+ resourceProvider.newFile('$packageC/$pubspecName', '''
dependencies:
d: any
''');
@@ -131,9 +119,7 @@ class DependencyFinderTest extends ResolverTestCase {
String packageA = resourceProvider.convertPath('/pub-cache/a-1.0');
String packageB = resourceProvider.convertPath('/pub-cache/b-1.0');
String packageC = resourceProvider.convertPath('/pub-cache/c-1.0');
- resourceProvider.newFile(
- '$packageA/$pubspecName',
- '''
+ resourceProvider.newFile('$packageA/$pubspecName', '''
dependencies:
b: any
c: any
@@ -207,9 +193,7 @@ class PackageManagerTest extends ResolverTestCase {
String packageB1 = resourceProvider.convertPath('/pub-cache/b-1.0');
String packageB2 = resourceProvider.convertPath('/pub-cache/b-2.0');
String packageC = resourceProvider.convertPath('/pub-cache/c-1.0');
- resourceProvider.newFile(
- '$packageA/$pubspecName',
- '''
+ resourceProvider.newFile('$packageA/$pubspecName', '''
dependencies:
b: any
c: any
« no previous file with comments | « pkg/analyzer/test/generated/non_hint_code_test.dart ('k') | pkg/analyzer/test/generated/parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698