Index: tests/standalone/io/http_head_test.dart |
diff --git a/tests/standalone/io/http_head_test.dart b/tests/standalone/io/http_head_test.dart |
index 9325ceb553814ad0c80f8e5bb97ad8585281cbf5..25baffad4167a771302007a2ef9eabf62ae03ce1 100644 |
--- a/tests/standalone/io/http_head_test.dart |
+++ b/tests/standalone/io/http_head_test.dart |
@@ -14,7 +14,7 @@ void testHEAD(int totalConnections) { |
} else if (request.uri.path == "/test200") { |
response.contentLength = 200; |
List<int> data = new List<int>.filled(200, 0); |
- response.add(data); |
+ response.writeBytes(data); |
response.close(); |
} else { |
assert(false); |