| Index: utils/tests/pub/pub_update_test.dart
|
| diff --git a/utils/tests/pub/pub_update_test.dart b/utils/tests/pub/pub_update_test.dart
|
| index 27b2e70ec95abc902c16734c275f8a4989abce89..c298bba274f79c246f005225aff872f6823f1b2f 100644
|
| --- a/utils/tests/pub/pub_update_test.dart
|
| +++ b/utils/tests/pub/pub_update_test.dart
|
| @@ -15,7 +15,8 @@ main() {
|
| dir(appPath, []).scheduleCreate();
|
|
|
| schedulePub(args: ['update'],
|
| - error: const RegExp(@'^Could not find a file named "pubspec.yaml"'));
|
| + error: const RegExp(@'^Could not find a file named "pubspec.yaml"'),
|
| + exitCode: 1);
|
|
|
| run();
|
| });
|
| @@ -27,7 +28,8 @@ main() {
|
|
|
| schedulePub(args: ['update'],
|
| error: const RegExp(@'^"pubspec.yaml" is missing the required "name" '
|
| - @'field \(e\.g\. "name: myapp"\)\.'));
|
| + @'field \(e\.g\. "name: myapp"\)\.'),
|
| + exitCode: 1);
|
|
|
| run();
|
| });
|
|
|