Index: samples/tests/samples/chat/chat_server_test.dart |
diff --git a/samples/tests/samples/chat/chat_server_test.dart b/samples/tests/samples/chat/chat_server_test.dart |
index d554725a78ed1574d9c5569d627824304e5e001c..2b7361f0b7d6315a07e9f582adaee5094f442876 100644 |
--- a/samples/tests/samples/chat/chat_server_test.dart |
+++ b/samples/tests/samples/chat/chat_server_test.dart |
@@ -240,9 +240,9 @@ class TestMain { |
}); |
// Prepare the requested number of clients. |
- clientPorts = new List<SendPort>.fixedLength(clientCount); |
+ clientPorts = new List<SendPort>(clientCount); |
int liveClientsCount = 0; |
- clientStatusPorts = new List<ReceivePort>.fixedLength(clientCount); |
+ clientStatusPorts = new List<ReceivePort>(clientCount); |
for (int i = 0; i < clientCount; i++) { |
ReceivePort statusPort = new ReceivePort(); |
statusPort.receive((var message, SendPort replyTo) { |