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