Index: sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart |
diff --git a/sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart b/sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart |
index 3024336930cdfb591243deb9c1d25ef57c564b72..77a3a3f4fe8da8be5723b239928eea35ae75af48 100644 |
--- a/sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart |
+++ b/sdk/lib/_internal/pub/test/get/hosted/cached_pubspec_test.dart |
@@ -13,7 +13,7 @@ main() { |
initConfig(); |
integration('does not request a pubspec for a cached package', () { |
- servePackages([packageMap("foo", "1.2.3")]); |
+ servePackages((builder) => builder.serve("foo", "1.2.3")); |
d.appDir({"foo": "1.2.3"}).create(); |