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

Unified Diff: sdk/lib/_internal/pub/test/install/hosted/install_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/install_test.dart
diff --git a/sdk/lib/_internal/pub/test/install/hosted/install_test.dart b/sdk/lib/_internal/pub/test/install/hosted/install_test.dart
index 375860af0a263f0c30aa8902871c71c16040dc61..1151f974c996a13e00de98c04e22242455eead56 100644
--- a/sdk/lib/_internal/pub/test/install/hosted/install_test.dart
+++ b/sdk/lib/_internal/pub/test/install/hosted/install_test.dart
@@ -14,7 +14,7 @@ main() {
integration('installs a package from a pub server', () {
servePackages([packageMap("foo", "1.2.3")]);
- d.appDir([dependencyMap("foo", "1.2.3")]).create();
+ d.appDir({"foo": "1.2.3"}).create();
pubInstall();
@@ -25,7 +25,7 @@ main() {
integration('URL encodes the package name', () {
servePackages([]);
- d.appDir([dependencyMap("bad name!", "1.2.3")]).create();
+ d.appDir({"bad name!": "1.2.3"}).create();
pubInstall(error: new RegExp(
r'Could not find package "bad name!" at http://localhost:\d+\.$'));

Powered by Google App Engine
This is Rietveld 408576698