| Index: sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart b/sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart
|
| index eee64d545d0360892da5a7d952c33791d47b8042..cb8132096463dec35ef1d3989a96f76f04401c12 100644
|
| --- a/sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/cache/repair/reinstalls_hosted_packages_test.dart
|
| @@ -10,13 +10,13 @@ import '../../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration('reinstalls previously cached hosted packages', () {
|
| - servePackages([
|
| - packageMap("foo", "1.2.3"),
|
| - packageMap("foo", "1.2.4"),
|
| - packageMap("foo", "1.2.5"),
|
| - packageMap("bar", "1.2.3"),
|
| - packageMap("bar", "1.2.4")
|
| - ]);
|
| + servePackages((builder) {
|
| + builder.serve("foo", "1.2.3");
|
| + builder.serve("foo", "1.2.4");
|
| + builder.serve("foo", "1.2.5");
|
| + builder.serve("bar", "1.2.3");
|
| + builder.serve("bar", "1.2.4");
|
| + });
|
|
|
| // Set up a cache with some broken packages.
|
| d.dir(cachePath, [
|
|
|