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."; |
} |