| Index: test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart
|
| diff --git a/test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart b/test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart
|
| index 670a535d1ede8a1d9a9dbdb34f24273e114321b4..e6692514e27afea27936c05f35951a8104652380 100644
|
| --- a/test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart
|
| +++ b/test/upgrade/git/upgrade_to_incompatible_pubspec_test.dart
|
| @@ -19,7 +19,9 @@ main() {
|
|
|
| d.appDir({"foo": {"git": "../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', [
|
| @@ -32,8 +34,12 @@ main() {
|
| d.libPubspec('zoo', '1.0.0')
|
| ]).commit();
|
|
|
| - pubUpgrade(error: contains('"name" field doesn\'t match expected name '
|
| - '"foo".'), exitCode: exit_codes.DATA);
|
| + // TODO(rnystrom): Remove "--packages-dir" and validate using the
|
| + // ".packages" file instead of looking in the "packages" directory.
|
| + pubUpgrade(
|
| + args: ['--packages-dir'],
|
| + error: contains('"name" field doesn\'t match expected name "foo".'),
|
| + exitCode: exit_codes.DATA);
|
|
|
| d.dir(packagesPath, [
|
| d.dir('foo', [
|
|
|