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

Unified Diff: sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart

Issue 494943002: Don't load assets unnecessarily when precompiling executables. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 4 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/get/hosted/unlock_if_version_doesnt_exist_test.dart
diff --git a/sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart b/sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart
index 2b662e669fed46223947fff8c74fe7a9db58988a..a3f57ff829131ce1346b7c84087ef4c111725850 100644
--- a/sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart
+++ b/sdk/lib/_internal/pub/test/get/hosted/unlock_if_version_doesnt_exist_test.dart
@@ -15,7 +15,7 @@ main() {
initConfig();
integration('upgrades a locked pub server package with a nonexistent version',
() {
- servePackages([packageMap("foo", "1.0.0")]);
+ servePackages((builder) => builder.serve("foo", "1.0.0"));
d.appDir({"foo": "any"}).create();
pubGet();
@@ -23,7 +23,7 @@ main() {
schedule(() => deleteEntry(p.join(sandboxDir, cachePath)));
- servePackages([packageMap("foo", "1.0.1")], replace: true);
+ servePackages((builder) => builder.serve("foo", "1.0.1"), replace: true);
pubGet();
d.packagesDir({"foo": "1.0.1"}).validate();
});

Powered by Google App Engine
This is Rietveld 408576698