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)); |