Index: tests/standalone/io/http_read_test.dart |
diff --git a/tests/standalone/io/http_read_test.dart b/tests/standalone/io/http_read_test.dart |
index c0e9dd34d1348b840d0c233f7bec8b131aa806ee..e9f9cfc6a86e5408e1a91eed73e6fa145ffa57df 100644 |
--- a/tests/standalone/io/http_read_test.dart |
+++ b/tests/standalone/io/http_read_test.dart |
@@ -175,7 +175,7 @@ void testRead(bool chunkedEncoding) { |
request.write(data.substring(10, data.length)); |
} else { |
request.contentLength = data.length; |
- request.writeBytes(data.codeUnits); |
+ request.add(data.codeUnits); |
} |
return request.close(); |
}) |