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+\.$')); |