Index: sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart |
diff --git a/sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart b/sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart |
index 4621703ce71d3cc91b72be0523209edd0e262bbf..77eeca6023a6fa7862e45ff46d212ef373751f5b 100644 |
--- a/sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart |
+++ b/sdk/lib/_internal/pub/test/get/hosted/unlock_if_incompatible_test.dart |
@@ -11,14 +11,14 @@ main() { |
initConfig(); |
integration('upgrades a locked pub server package with a new incompatible ' |
'constraint', () { |
- servePackages([packageMap("foo", "1.0.0")]); |
+ servePackages((builder) => builder.serve("foo", "1.0.0")); |
d.appDir({"foo": "any"}).create(); |
pubGet(); |
d.packagesDir({"foo": "1.0.0"}).validate(); |
- servePackages([packageMap("foo", "1.0.1")]); |
+ servePackages((builder) => builder.serve("foo", "1.0.1")); |
d.appDir({"foo": ">1.0.0"}).create(); |
pubGet(); |