Index: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart |
index dd4fd51e7489ad7d1090116364d2e69550625251..3513df514c3a2b050086c907c4885d443687549e 100644 |
--- a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_fields_test.dart |
@@ -24,8 +24,8 @@ main() { |
var body = {'url': 'http://example.com/upload'}; |
handleUploadForm(server, body); |
- expect(pub.nextErrLine(), completion(equals('Invalid server response:'))); |
- expect(pub.nextErrLine(), completion(equals(JSON.encode(body)))); |
+ pub.stderr.expect('Invalid server response:'); |
+ pub.stderr.expect(JSON.encode(body)); |
pub.shouldExit(1); |
}); |
} |