Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1373)

Unified Diff: sdk/lib/_internal/pub/test/serve/does_not_get_first_if_locked_version_matches_test.dart

Issue 26284002: Rename "install" -> "get" and "update" -> "upgrade". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
});

Powered by Google App Engine
This is Rietveld 408576698