Index: tests/standalone/io/secure_socket_test.dart |
diff --git a/tests/standalone/io/secure_socket_test.dart b/tests/standalone/io/secure_socket_test.dart |
index b520c22fa1f2c947d05b65fb3c08a4cf0568aa99..e1fe2a8e332beceaebebb1001f2fc507af9245fb 100644 |
--- a/tests/standalone/io/secure_socket_test.dart |
+++ b/tests/standalone/io/secure_socket_test.dart |
@@ -45,7 +45,7 @@ void main() { |
secure.onData = useReadList; |
} |
useReadList = () { |
- var buffer = new List(2000); |
+ var buffer = new List.fixedLength(2000); |
int len = secure.readList(buffer, 0, 2000); |
var received = new String.fromCharCodes(buffer.getRange(0, len)); |
chunks.add(received); |