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

Unified Diff: pkg/analyzer/test/generated/source_factory_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/analyzer/test/generated/source_factory_test.dart
diff --git a/pkg/analyzer/test/generated/source_factory_test.dart b/pkg/analyzer/test/generated/source_factory_test.dart
index e373d6709b1aa25241f9bbc01874191aa795d040..3fb5f2a10a4476a2f742bd65315a62f3c19c9dec 100644
--- a/pkg/analyzer/test/generated/source_factory_test.dart
+++ b/pkg/analyzer/test/generated/source_factory_test.dart
@@ -95,26 +95,22 @@ void runPackageMapTests() {
group('package mapping', () {
group('resolveUri', () {
test('URI in mapping', () {
- String uri = resolvePackageUri(
- config: '''
+ String uri = resolvePackageUri(config: '''
unittest:file:///home/somebody/.pub/cache/unittest-0.9.9/lib/
async:file:///home/somebody/.pub/cache/async-1.1.0/lib/
quiver:file:///home/somebody/.pub/cache/quiver-1.2.1/lib
-''',
- uri: 'package:unittest/unittest.dart');
+''', uri: 'package:unittest/unittest.dart');
expect(
uri,
equals(
'/home/somebody/.pub/cache/unittest-0.9.9/lib/unittest.dart'));
});
test('URI in mapping (no scheme)', () {
- String uri = resolvePackageUri(
- config: '''
+ String uri = resolvePackageUri(config: '''
unittest:/home/somebody/.pub/cache/unittest-0.9.9/lib/
async:/home/somebody/.pub/cache/async-1.1.0/lib/
quiver:/home/somebody/.pub/cache/quiver-1.2.1/lib
-''',
- uri: 'package:unittest/unittest.dart');
+''', uri: 'package:unittest/unittest.dart');
expect(
uri,
equals(
« no previous file with comments | « pkg/analyzer/test/generated/simple_resolver_test.dart ('k') | pkg/analyzer/test/generated/static_type_warning_code_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698