Index: tests/corelib/collection_contains_test.dart |
diff --git a/tests/corelib/collection_contains_test.dart b/tests/corelib/collection_contains_test.dart |
index 168855babe6ef2192b1fad9c8cf1cd9644a52758..da96f5d98aad1fdc840c667dbda78797c26458aa 100644 |
--- a/tests/corelib/collection_contains_test.dart |
+++ b/tests/corelib/collection_contains_test.dart |
@@ -12,7 +12,7 @@ test(list, notInList) { |
} |
Expect.isFalse(list.contains(notInList), "!$list.contains($notInList)"); |
} |
- List fixedList = new List(list.length); |
+ List fixedList = new List.fixedLength(list.length); |
List growList = new List(); |
for (int i = 0; i < list.length; i++) { |
fixedList[i] = list[i]; |