| Index: tests/standalone/io/raw_socket_test.dart
|
| diff --git a/tests/standalone/io/raw_socket_test.dart b/tests/standalone/io/raw_socket_test.dart
|
| index 609b96fdabaca5ce0e6cc6c784afd6e0dba88bf2..381c0ed2a134911c939223256601e5e114aa91a7 100644
|
| --- a/tests/standalone/io/raw_socket_test.dart
|
| +++ b/tests/standalone/io/raw_socket_test.dart
|
| @@ -138,11 +138,7 @@ void testSimpleReadWrite() {
|
| const messageSize = 1000;
|
|
|
| List<int> createTestData() {
|
| - List<int> data = new List<int>(messageSize);
|
| - for (int i = 0; i < messageSize; i++) {
|
| - data[i] = i & 0xff;
|
| - }
|
| - return data;
|
| + return new List<int>.generate(messageSize, (index) => index & 0xff);
|
| }
|
|
|
| void verifyTestData(List<int> data) {
|
|
|