| Index: sdk/lib/_internal/pub/test/lish/upload_form_provides_invalid_json_test.dart
|
| diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_provides_invalid_json_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_provides_invalid_json_test.dart
|
| index 21ca53a1732803843b210a6cb186e6017036a1ce..4a993e795c07fc4f068a210d89ff8b6e1a31ba27 100644
|
| --- a/sdk/lib/_internal/pub/test/lish/upload_form_provides_invalid_json_test.dart
|
| +++ b/sdk/lib/_internal/pub/test/lish/upload_form_provides_invalid_json_test.dart
|
| @@ -24,8 +24,9 @@ main() {
|
| request.response.close();
|
| });
|
|
|
| - expect(pub.nextErrLine(), completion(equals('Invalid server response:')));
|
| - expect(pub.nextErrLine(), completion(equals('{not json')));
|
| + pub.stderr.expect(emitsLines(
|
| + 'Invalid server response:\n'
|
| + '{not json'));
|
| pub.shouldExit(1);
|
| });
|
| }
|
|
|