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

Unified Diff: sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_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_if_necessary_test.dart
diff --git a/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart b/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart
index 3f24c7800a3672f0300c0339f92d83dab0323d45..006877dceb802e8cfa3a4f6a358a3ae1bb30a869 100644
--- a/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart
+++ b/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart
@@ -14,29 +14,29 @@ main() {
integration("updates one locked pub server package's dependencies if it's "
"necessary", () {
servePackages([
- packageMap("foo", "1.0.0", [dependencyMap("foo-dep")]),
- packageMap("foo-dep", "1.0.0")
+ packageMap("foo", "1.0.0", {"foo_dep": "any"}),
+ packageMap("foo_dep", "1.0.0")
]);
- d.appDir([dependencyMap("foo")]).create();
+ d.appDir({"foo": "any"}).create();
pubInstall();
d.packagesDir({
"foo": "1.0.0",
- "foo-dep": "1.0.0"
+ "foo_dep": "1.0.0"
}).validate();
servePackages([
- packageMap("foo", "2.0.0", [dependencyMap("foo-dep", ">1.0.0")]),
- packageMap("foo-dep", "2.0.0")
+ packageMap("foo", "2.0.0", {"foo_dep": ">1.0.0"}),
+ packageMap("foo_dep", "2.0.0")
]);
pubUpdate(args: ['foo']);
d.packagesDir({
"foo": "2.0.0",
- "foo-dep": "2.0.0"
+ "foo_dep": "2.0.0"
}).validate();
});
}

Powered by Google App Engine
This is Rietveld 408576698