| Index: sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart b/sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart
|
| index c83d94c86c8743dd85ed61a5bcdbf25416162cab..32ee191439ef0735ec5671c9f5cfca708a50e8f4 100644
|
| --- a/sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/build/all_with_no_buildable_directories_test.dart
|
| @@ -18,4 +18,16 @@ main() {
|
| '"test" and "web".',
|
| exitCode: exit_codes.DATA);
|
| });
|
| +
|
| + integration("build --all --format json with no buildable directories", () {
|
| + d.appDir().create();
|
| +
|
| + schedulePub(args: ["build", "--all", "--format", "json"],
|
| + outputJson: {'error':
|
| + 'There are no buildable directories.\n'
|
| + 'The supported directories are "benchmark", "bin", "example", '
|
| + '"test" and "web".'
|
| + },
|
| + exitCode: exit_codes.DATA);
|
| + });
|
| }
|
|
|