| Index: sdk/lib/_internal/pub/test/list_package_dirs/no_lockfile_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/list_package_dirs/no_lockfile_test.dart b/sdk/lib/_internal/pub/test/list_package_dirs/no_lockfile_test.dart
|
| index 5d7446c07575687dd0293e85fe067688f295857d..3bbc72a47f4967178839757f1c9b06cf7ee24b7b 100644
|
| --- a/sdk/lib/_internal/pub/test/list_package_dirs/no_lockfile_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/list_package_dirs/no_lockfile_test.dart
|
| @@ -15,9 +15,10 @@ main() {
|
| ]).create();
|
|
|
| schedulePub(args: ["list-package-dirs", "--format=json"],
|
| - error: '''
|
| - "Package \\"myapp\\" has no lockfile. Please run \\"pub get\\" first."
|
| - ''',
|
| - exitCode: exit_codes.NO_INPUT);
|
| + outputJson: {
|
| + "error":
|
| + 'Package "myapp" has no lockfile. Please run "pub get" first.'
|
| + },
|
| + exitCode: exit_codes.DATA);
|
| });
|
| }
|
|
|