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

Unified Diff: sdk/lib/_internal/pub/test/install/hosted/stay_locked_if_new_is_satisfied_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/stay_locked_if_new_is_satisfied_test.dart
diff --git a/sdk/lib/_internal/pub/test/install/hosted/stay_locked_if_new_is_satisfied_test.dart b/sdk/lib/_internal/pub/test/install/hosted/stay_locked_if_new_is_satisfied_test.dart
index 1f57d9286125a0c4d29aff183a9d2f0442af0944..73f5c7d0d4e239cd47c61324fb452e84264ffbb0 100644
--- a/sdk/lib/_internal/pub/test/install/hosted/stay_locked_if_new_is_satisfied_test.dart
+++ b/sdk/lib/_internal/pub/test/install/hosted/stay_locked_if_new_is_satisfied_test.dart
@@ -14,12 +14,12 @@ main() {
integration("doesn't unlock dependencies if a new dependency is already "
"satisfied", () {
servePackages([
- packageMap("foo", "1.0.0", [dependencyMap("bar", "<2.0.0")]),
- packageMap("bar", "1.0.0", [dependencyMap("baz", "<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")
]);
- d.appDir([dependencyMap("foo")]).create();
+ d.appDir({"foo": "any"}).create();
pubInstall();
@@ -30,13 +30,13 @@ main() {
}).validate();
servePackages([
- packageMap("foo", "2.0.0", [dependencyMap("bar", "<3.0.0")]),
- packageMap("bar", "2.0.0", [dependencyMap("baz", "<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"),
- packageMap("newdep", "2.0.0", [dependencyMap("baz", ">=1.0.0")])
+ packageMap("newdep", "2.0.0", {"baz": ">=1.0.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