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

Unified Diff: sdk/lib/_internal/pub/test/hosted/offline_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/hosted/offline_test.dart
diff --git a/sdk/lib/_internal/pub/test/hosted/offline_test.dart b/sdk/lib/_internal/pub/test/hosted/offline_test.dart
index d6f96d3603e3789d87f1e30020c4ba572d003448..16be30c0c17ba3602b5037623b0c10d73c545305 100644
--- a/sdk/lib/_internal/pub/test/hosted/offline_test.dart
+++ b/sdk/lib/_internal/pub/test/hosted/offline_test.dart
@@ -10,8 +10,8 @@ import '../test_pub.dart';
main() {
initConfig();
- forBothPubInstallAndUpdate((command) {
- integration('updates a package using the cache', () {
+ forBothPubGetAndUpgrade((command) {
+ integration('upgrades a package using the cache', () {
// Run the server so that we know what URL to use in the system cache.
servePackages([]);
@@ -26,8 +26,8 @@ main() {
}).create();
var warning = null;
- if (command == RunCommand.update) {
- warning = "Warning: Updating when offline may not update you "
+ if (command == RunCommand.upgrade) {
+ warning = "Warning: Upgrading when offline may not update you "
"to the latest versions of your dependencies.";
}

Powered by Google App Engine
This is Rietveld 408576698