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

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

Issue 11871028: Clean up code that locates SDK and SDK version. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 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
« no previous file with comments | « utils/tests/pub/install/hosted/install_transitive_test.dart ('k') | 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 428d5be3d22b184e988bc49f8e7fe33008cc053d..2ded719bb7a4f58d557eedb971ee80c9b2b4a8d4 100644
--- a/utils/tests/pub/test_pub.dart
+++ b/utils/tests/pub/test_pub.dart
@@ -387,7 +387,7 @@ Future<Map> _dependencyListToMap(List<Map> dependencies) {
source = new HostedSource();
break;
case "sdk":
- source = new SdkSource('');
+ source = new SdkSource();
break;
default:
throw 'Unknown source "$sourceName"';
@@ -1167,8 +1167,7 @@ Future<Pair<List<String>, List<String>>> schedulePackageValidation(
ValidatorCreator fn) {
return _scheduleValue((sandboxDir) {
var cache = new SystemCache.withSources(
- join(sandboxDir, cachePath),
- join(sandboxDir, sdkPath));
+ join(sandboxDir, cachePath));
return Entrypoint.load(join(sandboxDir, appPath), cache)
.then((entrypoint) {
« no previous file with comments | « utils/tests/pub/install/hosted/install_transitive_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698