Index: test/upgrade/git/upgrade_locked_test.dart |
diff --git a/test/upgrade/git/upgrade_locked_test.dart b/test/upgrade/git/upgrade_locked_test.dart |
index ecbea87d146ab3290a740fa20a17f0ebc0ada452..767ba021e97477881e20747ba53311db6dde822b 100644 |
--- a/test/upgrade/git/upgrade_locked_test.dart |
+++ b/test/upgrade/git/upgrade_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(); |
+ // TODO(rnystrom): Remove "--packages-dir" and validate using the |
+ // ".packages" file instead of looking in the "packages" directory. |
+ pubUpgrade(args: ["--packages-dir"]); |
d.dir(packagesPath, [ |
d.dir('foo', [ |