| Index: sdk/lib/_internal/pub/test/serve/gets_first_if_git_url_changed_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/serve/installs_first_if_git_url_changed_test.dart b/sdk/lib/_internal/pub/test/serve/gets_first_if_git_url_changed_test.dart
|
| similarity index 83%
|
| rename from sdk/lib/_internal/pub/test/serve/installs_first_if_git_url_changed_test.dart
|
| rename to sdk/lib/_internal/pub/test/serve/gets_first_if_git_url_changed_test.dart
|
| index 1993914d2fa69a966c67edce6047a833b73e58a2..1849ea7a164ec31e3b293b7ea1e781c6a299e997 100644
|
| --- a/sdk/lib/_internal/pub/test/serve/installs_first_if_git_url_changed_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/serve/gets_first_if_git_url_changed_test.dart
|
| @@ -10,8 +10,8 @@ import 'utils.dart';
|
|
|
| main() {
|
| initConfig();
|
| - integration("installs first if a git dependency's url doesn't match the one "
|
| - "in the lock file", () {
|
| + integration("gets first if a git dependency's url doesn't match the one in "
|
| + "the lock file", () {
|
| d.git("foo-before.git", [
|
| d.libPubspec("foo", "1.0.0"),
|
| d.libDir("foo", "before")
|
| @@ -26,14 +26,14 @@ main() {
|
| "foo": {"git": "../foo-before.git"}
|
| }).create();
|
|
|
| - pubInstall();
|
| + pubGet();
|
|
|
| // Change the path in the pubspec.
|
| d.appDir({
|
| "foo": {"git": "../foo-after.git"}
|
| }).create();
|
|
|
| - startPubServe(shouldInstallFirst: true);
|
| + startPubServe(shouldGetFirst: true);
|
| requestShouldSucceed("packages/foo/foo.dart", 'main() => "after";');
|
| endPubServe();
|
| });
|
|
|