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

Unified Diff: pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart

Issue 969113002: Reformat (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/source/caching_put_package_map_provider_test.dart
diff --git a/pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart b/pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart
index c4e3210c598ba13376afb4e3969051884003d722..20cdddf952c5f4cb53d33f310d7824e798cf79e7 100644
--- a/pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart
+++ b/pkg/analysis_server/test/source/caching_put_package_map_provider_test.dart
@@ -24,20 +24,14 @@ main() {
bool writeFileException;
Map result1 = {
- 'packages': {
- 'foo': '/tmp/proj1/packages/foo'
- },
+ 'packages': {'foo': '/tmp/proj1/packages/foo'},
'input_files': ['/tmp/proj1/pubspec.yaml']
};
- Map result1error = {
- 'input_files': ['/tmp/proj1/pubspec.lock']
- };
+ Map result1error = {'input_files': ['/tmp/proj1/pubspec.lock']};
Map result2 = {
- 'packages': {
- 'bar': '/tmp/proj2/packages/bar'
- },
+ 'packages': {'bar': '/tmp/proj2/packages/bar'},
'input_files': ['/tmp/proj2/pubspec.yaml']
};
@@ -71,10 +65,8 @@ main() {
}
CachingPubPackageMapProvider newPkgProvider() {
- return new CachingPubPackageMapProvider(
- resProvider,
- DirectoryBasedDartSdk.defaultSdk,
- mockRunner.runPubList,
+ return new CachingPubPackageMapProvider(resProvider,
+ DirectoryBasedDartSdk.defaultSdk, mockRunner.runPubList,
mockWriteFile);
}
@@ -304,7 +296,6 @@ _assertInfo(PackageMapInfo info, Map expected) {
}
}
-
typedef String MockResultFunction();
/**
« no previous file with comments | « pkg/analysis_server/test/socket_server_test.dart ('k') | pkg/analysis_server/test/timing/completion/completion_simple.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698