| Index: utils/tests/pub/test_pub.dart
|
| diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart
|
| index 35f9f11ce27e87e12bdcab21a1fc0acf57bd08a6..3ba46a4d5ba97abc406dc0f7ec87e22a29663538 100644
|
| --- a/utils/tests/pub/test_pub.dart
|
| +++ b/utils/tests/pub/test_pub.dart
|
| @@ -94,7 +94,7 @@ void serve([List<d.Descriptor> contents]) {
|
| new ByteStream(stream).toBytes().then((data) {
|
| response.statusCode = 200;
|
| response.contentLength = data.length;
|
| - response.writeBytes(data);
|
| + response.add(data);
|
| response.close();
|
| }).catchError((e) {
|
| response.statusCode = 404;
|
|
|