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

Unified Diff: test/get/git/lock_version_test.dart

Issue 2377063002: Make "--no-packages-dir" the default. (Closed)
Patch Set: Revise again. Created 4 years, 3 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: test/get/git/lock_version_test.dart
diff --git a/test/get/git/lock_version_test.dart b/test/get/git/lock_version_test.dart
index 06d27590b20bb0c63cae60d79469014cc76d43c1..3c3ceaf27aa431cb94a682ba4cc9befcb6c8e3bb 100644
--- a/test/get/git/lock_version_test.dart
+++ b/test/get/git/lock_version_test.dart
@@ -21,7 +21,9 @@ main() {
d.appDir({"foo": {"git": "../foo.git"}}).create();
// This get should lock the foo.git dependency to the current revision.
- pubGet();
+ // TODO(rnystrom): Remove "--packages-dir" and validate using the
+ // ".packages" file instead of looking in the "packages" directory.
+ pubGet(args: ["--packages-dir"]);
d.dir(packagesPath, [
d.dir('foo', [
@@ -38,7 +40,9 @@ main() {
]).commit();
// This get shouldn't upgrade the foo.git dependency due to the lockfile.
- pubGet();
+ // TODO(rnystrom): Remove "--packages-dir" and validate using the
+ // ".packages" file instead of looking in the "packages" directory.
+ pubGet(args: ["--packages-dir"]);
d.dir(packagesPath, [
d.dir('foo', [
« no previous file with comments | « test/get/git/doesnt_fetch_if_nothing_changes_test.dart ('k') | test/get/git/locked_revision_without_repo_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698