Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: sdk/lib/_internal/pub/test/install/hosted/unlock_if_new_is_unsatisfied_test.dart

Issue 19592015: Get rid of hokey dependencyMapList stuff. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698