Index: sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart |
diff --git a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart |
index f6a45ae7920f0e8bc391d7d1930d4731b3281997..3a797e20013b28f955d9cc7dd0451c01c22c2e82 100644 |
--- a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart |
+++ b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart |
@@ -16,16 +16,21 @@ main() { |
integration("removes a transitive dependency that's no longer depended " |
"on", () { |
servePackages([ |
- packageMap("foo", "1.0.0", [dependencyMap("shared-dep")]), |
- packageMap("bar", "1.0.0", [ |
- dependencyMap("shared-dep"), |
- dependencyMap("bar-dep") |
- ]), |
+ packageMap("foo", "1.0.0", { |
+ "shared-dep": "any" |
+ }), |
+ packageMap("bar", "1.0.0", { |
+ "shared-dep": "any", |
+ "bar-dep": "any" |
+ }), |
packageMap("shared-dep", "1.0.0"), |
packageMap("bar-dep", "1.0.0") |
]); |
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create(); |
+ d.appDir({ |
+ "foo": "any", |
+ "bar": "any" |
+ }).create(); |
pubCommand(command); |
@@ -36,7 +41,7 @@ main() { |
"bar-dep": "1.0.0", |
}).validate(); |
- d.appDir([dependencyMap("foo")]).create(); |
+ d.appDir({"foo": "any"}).create(); |
pubCommand(command); |