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

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

Issue 805393002: Update pub to use the new command runner API in args. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 5 years, 11 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: sdk/lib/_internal/pub/test/test_pub.dart
diff --git a/sdk/lib/_internal/pub/test/test_pub.dart b/sdk/lib/_internal/pub/test/test_pub.dart
index fbf9f80e79247540f74e8679f1da752777b7c702..4b6afb3408f609d2bcc10b76a04768b1eed85dc6 100644
--- a/sdk/lib/_internal/pub/test/test_pub.dart
+++ b/sdk/lib/_internal/pub/test/test_pub.dart
@@ -952,7 +952,8 @@ typedef Validator ValidatorCreator(Entrypoint entrypoint);
Future<Pair<List<String>, List<String>>> schedulePackageValidation(
ValidatorCreator fn) {
return schedule(() {
- var cache = new SystemCache.withSources(p.join(sandboxDir, cachePath));
+ var cache = new SystemCache.withSources(
+ rootDir: p.join(sandboxDir, cachePath));
return new Future.sync(() {
var validator = fn(new Entrypoint(p.join(sandboxDir, appPath), cache));
« no previous file with comments | « sdk/lib/_internal/pub/test/run/errors_if_path_in_dependency_test.dart ('k') | sdk/lib/_internal/pub_generated/bin/pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698