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

Unified Diff: sdk/lib/_internal/pub/test/get/hosted/get_test.dart

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/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+\.$'));
});
}

Powered by Google App Engine
This is Rietveld 408576698