Index: tests/corelib/collection_test.dart |
diff --git a/tests/corelib/collection_test.dart b/tests/corelib/collection_test.dart |
index c1ea5b839f5666d6388be83379ad480011e87c1c..86d9e03d3f5a95bc0acf7477af85b7d5be80ddac 100644 |
--- a/tests/corelib/collection_test.dart |
+++ b/tests/corelib/collection_test.dart |
@@ -21,7 +21,7 @@ main() { |
new CollectionTest(TEST_ELEMENTS); |
// Fixed size list. |
- var fixedList = new List(TEST_ELEMENTS.length); |
+ var fixedList = new List.fixedLength(TEST_ELEMENTS.length); |
for (int i = 0; i < TEST_ELEMENTS.length; i++) { |
fixedList[i] = TEST_ELEMENTS[i]; |
} |