Index: sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart b/sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart |
index a80bc5873d41a991ef9856f3f799d5c7bb2435c0..4a6e1875b43b95616164efcbd319e4d72b5eb3b3 100644 |
--- a/sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart |
+++ b/sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart |
@@ -14,13 +14,13 @@ main() { |
integration("unlocks dependencies if necessary to ensure that a new " |
"dependency is satisfied", () { |
servePackages([ |
- packageMap("foo", "1.0.0", [dependencyMap("bar", "<2.0.0")]), |
- packageMap("bar", "1.0.0", [dependencyMap("baz", "<2.0.0")]), |
- packageMap("baz", "1.0.0", [dependencyMap("qux", "<2.0.0")]), |
+ packageMap("foo", "1.0.0", {"bar": "<2.0.0"}), |
+ packageMap("bar", "1.0.0", {"baz": "<2.0.0"}), |
+ packageMap("baz", "1.0.0", {"qux": "<2.0.0"}), |
packageMap("qux", "1.0.0") |
]); |
- d.appDir([dependencyMap("foo")]).create(); |
+ d.appDir({"foo": "any"}).create(); |
pubInstall(); |
@@ -32,14 +32,14 @@ main() { |
}).validate(); |
servePackages([ |
- packageMap("foo", "2.0.0", [dependencyMap("bar", "<3.0.0")]), |
- packageMap("bar", "2.0.0", [dependencyMap("baz", "<3.0.0")]), |
- packageMap("baz", "2.0.0", [dependencyMap("qux", "<3.0.0")]), |
+ packageMap("foo", "2.0.0", {"bar": "<3.0.0"}), |
+ packageMap("bar", "2.0.0", {"baz": "<3.0.0"}), |
+ packageMap("baz", "2.0.0", {"qux": "<3.0.0"}), |
packageMap("qux", "2.0.0"), |
- packageMap("newdep", "2.0.0", [dependencyMap("baz", ">=1.5.0")]) |
+ packageMap("newdep", "2.0.0", {"baz": ">=1.5.0"}) |
]); |
- d.appDir([dependencyMap("foo"), dependencyMap("newdep")]).create(); |
+ d.appDir({"foo": "any", "newdep": "any"}).create(); |
pubInstall(); |