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

Unified Diff: sdk/lib/_internal/pub_generated/test/test_pub.dart

Issue 596703005: Fix type annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub_generated/test/test_pub.dart
diff --git a/sdk/lib/_internal/pub_generated/test/test_pub.dart b/sdk/lib/_internal/pub_generated/test/test_pub.dart
index c16e146273f6b110d824e8bc6f5c1292d9a86304..2bdf396888eed6359c4265fbd9300837c6872927 100644
--- a/sdk/lib/_internal/pub_generated/test/test_pub.dart
+++ b/sdk/lib/_internal/pub_generated/test/test_pub.dart
@@ -283,7 +283,7 @@ void confirmPublish(ScheduledProcess pub) {
String _pathInSandbox(String relPath) {
return p.join(p.absolute(sandboxDir), relPath);
}
-Map getPubTestEnvironment([Uri tokenEndpoint]) {
+Map getPubTestEnvironment([String tokenEndpoint]) {
var environment = {};
environment['_PUB_TESTING'] = 'true';
environment['PUB_CACHE'] = _pathInSandbox(cachePath);
@@ -293,7 +293,7 @@ Map getPubTestEnvironment([Uri tokenEndpoint]) {
}
return environment;
}
-ScheduledProcess startPub({List args, Future<Uri> tokenEndpoint}) {
+ScheduledProcess startPub({List args, Future<String> tokenEndpoint}) {
ensureDir(_pathInSandbox(appPath));
var dartBin = Platform.executable;
if (dartBin.contains(Platform.pathSeparator)) {
« no previous file with comments | « sdk/lib/_internal/pub/test/test_pub.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698