Index: sdk/lib/_internal/pub/test/lish/upload_form_fields_is_not_a_map_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_fields_is_not_a_map_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_fields_is_not_a_map_test.dart |
index 2f75460fe7b6294388e10a25de8789c495b044a1..260f1f33f84ea3f79a17abfcae2b81f4582245ca 100644 |
--- a/sdk/lib/_internal/pub/test/lish/upload_form_fields_is_not_a_map_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_fields_is_not_a_map_test.dart |
@@ -24,8 +24,8 @@ main() { |
var body = {'url': 'http://example.com/upload', 'fields': 12}; |
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); |
}); |
} |