Index: sdk/lib/_internal/pub/test/upgrade/hosted/unlock_if_necessary_test.dart |
diff --git a/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart b/sdk/lib/_internal/pub/test/upgrade/hosted/unlock_if_necessary_test.dart |
similarity index 86% |
rename from sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart |
rename to sdk/lib/_internal/pub/test/upgrade/hosted/unlock_if_necessary_test.dart |
index c24aca8867df9916d96146bd6967a68499396888..7de2061948cd38c04a2e73685b69c062da600a85 100644 |
--- a/sdk/lib/_internal/pub/test/update/hosted/unlock_if_necessary_test.dart |
+++ b/sdk/lib/_internal/pub/test/upgrade/hosted/unlock_if_necessary_test.dart |
@@ -9,7 +9,7 @@ import '../../test_pub.dart'; |
main() { |
initConfig(); |
- integration("updates one locked pub server package's dependencies if it's " |
+ integration("upgrades one locked pub server package's dependencies if it's " |
"necessary", () { |
servePackages([ |
packageMap("foo", "1.0.0", {"foo_dep": "any"}), |
@@ -18,7 +18,7 @@ main() { |
d.appDir({"foo": "any"}).create(); |
- pubInstall(); |
+ pubGet(); |
d.packagesDir({ |
"foo": "1.0.0", |
@@ -30,7 +30,7 @@ main() { |
packageMap("foo_dep", "2.0.0") |
]); |
- pubUpdate(args: ['foo']); |
+ pubUpgrade(args: ['foo']); |
d.packagesDir({ |
"foo": "2.0.0", |