Index: tests/standalone/io/http_parser_test.dart |
diff --git a/tests/standalone/io/http_parser_test.dart b/tests/standalone/io/http_parser_test.dart |
index 6757633f6abb4cebadb9bdb83e8e9deea0db79cb..379614b5a1d83dbef2dc640a47a0f646a8888063 100644 |
--- a/tests/standalone/io/http_parser_test.dart |
+++ b/tests/standalone/io/http_parser_test.dart |
@@ -124,7 +124,7 @@ class HttpParserTest { |
// Test parsing the request three times delivering the data in |
// different chunks. |
- List<int> requestData = request.codeUnits; |
+ List<int> requestData = new Uint8List.fromList(request.codeUnits); |
testWrite(requestData); |
testWrite(requestData, 10); |
testWrite(requestData, 1); |
@@ -167,7 +167,7 @@ class HttpParserTest { |
// Test parsing the request three times delivering the data in |
// different chunks. |
- List<int> requestData = request.codeUnits; |
+ List<int> requestData = new Uint8List.fromList(request.codeUnits); |
testWrite(requestData); |
testWrite(requestData, 10); |
testWrite(requestData, 1); |
@@ -273,7 +273,7 @@ class HttpParserTest { |
// Test parsing the request three times delivering the data in |
// different chunks. |
- List<int> responseData = response.codeUnits; |
+ List<int> responseData = new Uint8List.fromList(response.codeUnits); |
testWrite(responseData); |
testWrite(responseData, 10); |
testWrite(responseData, 1); |
@@ -318,7 +318,7 @@ class HttpParserTest { |
// Test parsing the request three times delivering the data in |
// different chunks. |
- List<int> responseData = response.codeUnits; |
+ List<int> responseData = new Uint8List.fromList(response.codeUnits); |
testWrite(responseData); |
testWrite(responseData, 10); |
testWrite(responseData, 1); |