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