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

Unified Diff: test/pub_uploader_test.dart

Issue 2184303002: Make pub strong-mode clean. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 4 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 | « test/package_server.dart ('k') | test/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/pub_uploader_test.dart
diff --git a/test/pub_uploader_test.dart b/test/pub_uploader_test.dart
index 4eb85ee970e951163ebb0e178b3305a9a687fb14..3f4c1b3857d5aa401722b5b5b6b055bae84ae500 100644
--- a/test/pub_uploader_test.dart
+++ b/test/pub_uploader_test.dart
@@ -32,7 +32,7 @@ See http://dartlang.org/tools/pub/cmd/pub-uploader.html for detailed documentati
ScheduledProcess startPubUploader(ScheduledServer server, List<String> args) {
var tokenEndpoint = server.url.then((url) =>
url.resolve('/token').toString());
- args = flatten(['uploader', '--server', tokenEndpoint, args]);
+ args = ['uploader', '--server', tokenEndpoint]..addAll(args);
return startPub(args: args, tokenEndpoint: tokenEndpoint);
}
« no previous file with comments | « test/package_server.dart ('k') | test/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698