| Index: sdk/lib/_internal/pub/test/serve/does_not_get_first_if_locked_version_matches_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/does_not_install_first_if_locked_version_matches_test.dart b/sdk/lib/_internal/pub/test/serve/does_not_get_first_if_locked_version_matches_test.dart
|
| similarity index 78%
|
| rename from sdk/lib/_internal/pub/test/serve/does_not_install_first_if_locked_version_matches_test.dart
|
| rename to sdk/lib/_internal/pub/test/serve/does_not_get_first_if_locked_version_matches_test.dart
|
| index f7a2a77cd0f8a9fb8eeac3ebbf41ab2e89a75c25..077c5dca63969d78b5d7270774cad1548b66df05 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/does_not_install_first_if_locked_version_matches_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/does_not_get_first_if_locked_version_matches_test.dart
|
| @@ -10,14 +10,14 @@ import 'utils.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration("does not install if the locked version of a dependency is "
|
| - "allowed by the pubspec's constraint", () {
|
| + integration("does not get if the locked version of a dependency is allowed "
|
| + "by the pubspec's constraint", () {
|
| d.dir("foo", [
|
| d.libPubspec("foo", "0.0.1"),
|
| d.libDir("foo")
|
| ]).create();
|
|
|
| - // Install to get "foo" into the lock file.
|
| + // Get "foo" into the lock file.
|
| d.dir(appPath, [
|
| d.appPubspec({
|
| "foo": {
|
| @@ -26,7 +26,7 @@ main() {
|
| },
|
| })
|
| ]).create();
|
| - pubInstall();
|
| + pubGet();
|
|
|
| // Change the version.
|
| d.dir(appPath, [
|
| @@ -38,7 +38,7 @@ main() {
|
| })
|
| ]).create();
|
|
|
| - startPubServe(shouldInstallFirst: false);
|
| + startPubServe(shouldGetFirst: false);
|
| requestShouldSucceed("packages/foo/foo.dart", 'main() => "foo";');
|
| endPubServe();
|
| });
|
|
|