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

Unified Diff: utils/tests/pub/test_pub.dart

Issue 12580008: "new Map()" -> "new Map.from()" in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/tests/pub/test_pub.dart
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
index ec4d827cf8b9663c233812195712ce136da9db33..03f04164e804901443dfa727ac534aa1e80e947e 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -351,7 +351,7 @@ ScheduledProcess startPub({List args, Future<Uri> tokenEndpoint}) {
var options = new ProcessOptions();
options.workingDirectory = pathInSandbox(appPath);
// TODO(nweiz): remove this when issue 9294 is fixed.
- options.environment = new Map(Platform.environment);
+ options.environment = new Map.from(Platform.environment);
options.environment['PUB_CACHE'] = pathInSandbox(cachePath);
options.environment['DART_SDK'] = pathInSandbox(sdkPath);
if (tokenEndpoint != null) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698