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

Unified Diff: sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_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/update/hosted/unlock_dependers_test.dart
diff --git a/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart b/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
index b007e00720771434679bca0a6eac55e737ada6a8..0296802ff8e061d0d373bf419b78ad3e75c54ab3 100644
--- a/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
+++ b/sdk/lib/_internal/pub/test/update/hosted/unlock_dependers_test.dart
@@ -14,11 +14,11 @@ main() {
integration("updates a locked package's dependers in order to get it to max "
"version", () {
servePackages([
- packageMap("foo", "1.0.0", [dependencyMap("bar", "<2.0.0")]),
+ packageMap("foo", "1.0.0", {"bar": "<2.0.0"}),
packageMap("bar", "1.0.0")
]);
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create();
+ d.appDir({"foo": "any", "bar": "any"}).create();
pubInstall();
@@ -28,7 +28,7 @@ main() {
}).validate();
servePackages([
- packageMap("foo", "2.0.0", [dependencyMap("bar", "<3.0.0")]),
+ packageMap("foo", "2.0.0", {"bar": "<3.0.0"}),
packageMap("bar", "2.0.0")
]);

Powered by Google App Engine
This is Rietveld 408576698