Index: sdk/lib/_internal/pub/test/get/hosted/get_test.dart |
diff --git a/sdk/lib/_internal/pub/test/install/hosted/install_test.dart b/sdk/lib/_internal/pub/test/get/hosted/get_test.dart |
similarity index 86% |
rename from sdk/lib/_internal/pub/test/install/hosted/install_test.dart |
rename to sdk/lib/_internal/pub/test/get/hosted/get_test.dart |
index f47a87fb3d01d826ff96846681336c22823b21c1..40eaca5e553ac9336f6a5ec39c4c8736e82bd19c 100644 |
--- a/sdk/lib/_internal/pub/test/install/hosted/install_test.dart |
+++ b/sdk/lib/_internal/pub/test/get/hosted/get_test.dart |
@@ -9,12 +9,12 @@ import '../../test_pub.dart'; |
main() { |
initConfig(); |
- integration('installs a package from a pub server', () { |
+ integration('gets a package from a pub server', () { |
servePackages([packageMap("foo", "1.2.3")]); |
d.appDir({"foo": "1.2.3"}).create(); |
- pubInstall(); |
+ pubGet(); |
d.cacheDir({"foo": "1.2.3"}).validate(); |
d.packagesDir({"foo": "1.2.3"}).validate(); |
@@ -25,7 +25,7 @@ main() { |
d.appDir({"bad name!": "1.2.3"}).create(); |
- pubInstall(error: new RegExp( |
+ pubGet(error: new RegExp( |
r'Could not find package "bad name!" at http://127\.0\.0\.1:\d+\.$')); |
}); |
} |