| Index: utils/tests/pub/pub_uploader_test.dart
|
| diff --git a/utils/tests/pub/pub_uploader_test.dart b/utils/tests/pub/pub_uploader_test.dart
|
| index fe6e2b61055cefca78d23556817f7659beaec213..8aa77351478c52d6dca7d5645f9eeb8648393f83 100644
|
| --- a/utils/tests/pub/pub_uploader_test.dart
|
| +++ b/utils/tests/pub/pub_uploader_test.dart
|
| @@ -49,7 +49,7 @@ main() {
|
| var pub = startPubUploader(server, ['--package', 'pkg', 'add', 'email']);
|
|
|
| server.handle('POST', '/packages/pkg/uploaders.json', (request, response) {
|
| - expect(consumeInputStream(request.inputStream).then((bodyBytes) {
|
| + expect(wrapInputStream(request.inputStream).toBytes().then((bodyBytes) {
|
| expect(new String.fromCharCodes(bodyBytes), equals('email=email'));
|
|
|
| response.headers.contentType = new ContentType("application", "json");
|
|
|