Index: tests/language/typed_message_test.dart |
diff --git a/tests/language/typed_message_test.dart b/tests/language/typed_message_test.dart |
index 4c23387972de61e4637b4dff38dfae40871f2bdb..bda98146d2052396277bf7158b03718f3cf8137b 100644 |
--- a/tests/language/typed_message_test.dart |
+++ b/tests/language/typed_message_test.dart |
@@ -26,7 +26,7 @@ void logMessages() { |
main() { |
SendPort remote = spawnFunction(logMessages); |
- List<int> msg = new List<int>(5); |
+ List<int> msg = new List<int>.fixedLength(5); |
for (int i = 0; i < 5; i++) { |
msg[i] = i; |
} |