| Index: sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart b/sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart
|
| index 3dea9766bde1609b86e75d676f5b84803d33d6c5..d641cd25a82741b61354e1f4d4f0060a254e43de 100644
|
| --- a/sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/upgrade/hosted/upgrade_removed_constraints_test.dart
|
| @@ -10,12 +10,12 @@ import '../../test_pub.dart';
|
| main() {
|
| initConfig();
|
| integration("upgrades dependencies whose constraints have been removed", () {
|
| - servePackages([
|
| - packageMap("foo", "1.0.0", {"shared-dep": "any"}),
|
| - packageMap("bar", "1.0.0", {"shared-dep": "<2.0.0"}),
|
| - packageMap("shared-dep", "1.0.0"),
|
| - packageMap("shared-dep", "2.0.0")
|
| - ]);
|
| + servePackages((builder) {
|
| + builder.serve("foo", "1.0.0", deps: {"shared-dep": "any"});
|
| + builder.serve("bar", "1.0.0", deps: {"shared-dep": "<2.0.0"});
|
| + builder.serve("shared-dep", "1.0.0");
|
| + builder.serve("shared-dep", "2.0.0");
|
| + });
|
|
|
| d.appDir({"foo": "any", "bar": "any"}).create();
|
|
|
|
|