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', [ |