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

Unified Diff: sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_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/hosted/remove_removed_transitive_dependency_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
index f6a45ae7920f0e8bc391d7d1930d4731b3281997..3a797e20013b28f955d9cc7dd0451c01c22c2e82 100644
--- a/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/remove_removed_transitive_dependency_test.dart
@@ -16,16 +16,21 @@ main() {
integration("removes a transitive dependency that's no longer depended "
"on", () {
servePackages([
- packageMap("foo", "1.0.0", [dependencyMap("shared-dep")]),
- packageMap("bar", "1.0.0", [
- dependencyMap("shared-dep"),
- dependencyMap("bar-dep")
- ]),
+ packageMap("foo", "1.0.0", {
+ "shared-dep": "any"
+ }),
+ packageMap("bar", "1.0.0", {
+ "shared-dep": "any",
+ "bar-dep": "any"
+ }),
packageMap("shared-dep", "1.0.0"),
packageMap("bar-dep", "1.0.0")
]);
- d.appDir([dependencyMap("foo"), dependencyMap("bar")]).create();
+ d.appDir({
+ "foo": "any",
+ "bar": "any"
+ }).create();
pubCommand(command);
@@ -36,7 +41,7 @@ main() {
"bar-dep": "1.0.0",
}).validate();
- d.appDir([dependencyMap("foo")]).create();
+ d.appDir({"foo": "any"}).create();
pubCommand(command);

Powered by Google App Engine
This is Rietveld 408576698