Index: sdk/lib/_internal/pub/test/serve/gets_first_if_git_ref_changed_test.dart |
diff --git a/sdk/lib/_internal/pub/test/serve/installs_first_if_git_ref_changed_test.dart b/sdk/lib/_internal/pub/test/serve/gets_first_if_git_ref_changed_test.dart |
similarity index 85% |
rename from sdk/lib/_internal/pub/test/serve/installs_first_if_git_ref_changed_test.dart |
rename to sdk/lib/_internal/pub/test/serve/gets_first_if_git_ref_changed_test.dart |
index 62238db090c3da8d45ea3ec21c03656f8806a09b..f98f27b74fb0214001bfe9111e15f5c16d9648a5 100644 |
--- a/sdk/lib/_internal/pub/test/serve/installs_first_if_git_ref_changed_test.dart |
+++ b/sdk/lib/_internal/pub/test/serve/gets_first_if_git_ref_changed_test.dart |
@@ -10,8 +10,8 @@ import 'utils.dart'; |
main() { |
initConfig(); |
- integration("installs first if a git dependency's ref doesn't match the one " |
- "in the lock file", () { |
+ integration("gets first if a git dependency's ref doesn't match the one in " |
+ "the lock file", () { |
var repo = d.git('foo.git', [ |
d.libDir('foo', 'before'), |
d.libPubspec('foo', '1.0.0') |
@@ -31,14 +31,14 @@ main() { |
"foo": {"git": {"url": "../foo.git", "ref": commit1}} |
}).create(); |
- pubInstall(); |
+ pubGet(); |
// Change the commit in the pubspec. |
d.appDir({ |
"foo": {"git": {"url": "../foo.git", "ref": commit2}} |
}).create(); |
- startPubServe(shouldInstallFirst: true); |
+ startPubServe(shouldGetFirst: true); |
requestShouldSucceed("packages/foo/foo.dart", 'main() => "after";'); |
endPubServe(); |
}); |