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

Unified Diff: test/upgrade/git/upgrade_one_locked_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/upgrade/git/upgrade_one_locked_test.dart
diff --git a/test/upgrade/git/upgrade_one_locked_test.dart b/test/upgrade/git/upgrade_one_locked_test.dart
index d6819ef2663cb3ee471435d46e0229755cf58ea7..5d071328c7851f3a0cd949fd6ea60459573b3b87 100644
--- a/test/upgrade/git/upgrade_one_locked_test.dart
+++ b/test/upgrade/git/upgrade_one_locked_test.dart
@@ -24,7 +24,9 @@ main() {
"bar": {"git": "../bar.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', [
@@ -45,7 +47,9 @@ main() {
d.libPubspec('bar', '1.0.0')
]).commit();
- pubUpgrade(args: ['foo']);
+ // TODO(rnystrom): Remove "--packages-dir" and validate using the
+ // ".packages" file instead of looking in the "packages" directory.
+ pubUpgrade(args: ['--packages-dir', 'foo']);
d.dir(packagesPath, [
d.dir('foo', [
« no previous file with comments | « test/upgrade/git/upgrade_locked_test.dart ('k') | test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698