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

Unified Diff: sdk/lib/_internal/pub/test/get/hosted/repair_cache_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/repair_cache_test.dart
diff --git a/sdk/lib/_internal/pub/test/install/hosted/repair_cache_test.dart b/sdk/lib/_internal/pub/test/get/hosted/repair_cache_test.dart
similarity index 88%
rename from sdk/lib/_internal/pub/test/install/hosted/repair_cache_test.dart
rename to sdk/lib/_internal/pub/test/get/hosted/repair_cache_test.dart
index 907a6a61ab2669d53a4a2bb30ca05dbc2f4a061b..301ccd796616575f29967b1f95b795af6194f8b1 100644
--- a/sdk/lib/_internal/pub/test/install/hosted/repair_cache_test.dart
+++ b/sdk/lib/_internal/pub/test/get/hosted/repair_cache_test.dart
@@ -9,7 +9,7 @@ import '../../test_pub.dart';
main() {
initConfig();
- integration('re-installs a package if it has an empty "lib" directory', () {
+ integration('re-gets a package if it has an empty "lib" directory', () {
servePackages([packageMap("foo", "1.2.3")]);
// Set up a cache with a broken foo package.
@@ -27,13 +27,13 @@ main() {
d.appDir({"foo": "1.2.3"}).create();
- pubInstall();
+ pubGet();
d.cacheDir({"foo": "1.2.3"}).validate();
d.packagesDir({"foo": "1.2.3"}).validate();
});
- integration('re-installs a package if it has no pubspec', () {
+ integration('re-gets a package if it has no pubspec', () {
servePackages([packageMap("foo", "1.2.3")]);
// Set up a cache with a broken foo package.
@@ -50,7 +50,7 @@ main() {
d.appDir({"foo": "1.2.3"}).create();
- pubInstall();
+ pubGet();
d.cacheDir({"foo": "1.2.3"}).validate();
d.packagesDir({"foo": "1.2.3"}).validate();

Powered by Google App Engine
This is Rietveld 408576698