Index: tests/standalone/io/http_connection_close_test.dart |
diff --git a/tests/standalone/io/http_connection_close_test.dart b/tests/standalone/io/http_connection_close_test.dart |
index e8f36091480986024dee67b11926d423feb2d1b8..a2a11c749e1acdecb8f53a6660c887eef0b16268 100644 |
--- a/tests/standalone/io/http_connection_close_test.dart |
+++ b/tests/standalone/io/http_connection_close_test.dart |
@@ -35,7 +35,7 @@ void testHttp11Close(bool closeRequest) { |
Socket.connect("127.0.0.1", server.port) |
.then((socket) { |
- List<int> buffer = new List<int>.fixedLength(1024); |
+ List<int> buffer = new List<int>(1024); |
socket.addString("GET / HTTP/1.1\r\nConnection: close\r\n\r\n"); |
socket.listen( |
(data) {}, |