Index: tests/language/fixed_length_test.dart |
diff --git a/tests/language/fixed_length_test.dart b/tests/language/fixed_length_test.dart |
index 27be71f5b362f8b7d3aad395567f059b40eaf37f..0e8ab562fcfe900043c78d3d0570f0a773109b6e 100644 |
--- a/tests/language/fixed_length_test.dart |
+++ b/tests/language/fixed_length_test.dart |
@@ -8,8 +8,8 @@ void main() { |
Expect.equals(-1, foo()); |
} |
-int foo() { |
- var list = new List<int>.fixedLength(1024); |
+int foo() { |
+ var list = new List<int>(1024); |
for(int i = 0; i < list.length; i++) list[i] = -i; |