Index: sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart |
diff --git a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart |
index 0f2750337b8c443aa865a6a3d936e12dc3008481..a08b58127f60ad63b1d639b838fd20fa62d902df 100644 |
--- a/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart |
+++ b/sdk/lib/_internal/pub/test/lish/upload_form_is_missing_url_test.dart |
@@ -30,8 +30,8 @@ main() { |
}; |
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); |
}); |
} |