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

Unified Diff: test/get/git/doesnt_fetch_if_nothing_changes_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
« no previous file with comments | « test/get/git/different_repo_name_test.dart ('k') | test/get/git/lock_version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/get/git/doesnt_fetch_if_nothing_changes_test.dart
diff --git a/test/get/git/doesnt_fetch_if_nothing_changes_test.dart b/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
index e0ba454575901fc9c9f2e8efe4ba63e57c945d9a..c7684fabc8dceaeee62048d01ab809ccba5911eb 100644
--- a/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
+++ b/test/get/git/doesnt_fetch_if_nothing_changes_test.dart
@@ -23,7 +23,9 @@ main() {
"foo": {"git": {"url": "../foo.git"}}
}).create();
- 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', [
@@ -35,7 +37,9 @@ main() {
// re-fetch.
schedule(() => deleteEntry(p.join(sandboxDir, 'foo.git')));
- 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/different_repo_name_test.dart ('k') | test/get/git/lock_version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698