Index: tests/corelib/collection_length_test.dart |
diff --git a/tests/corelib/collection_length_test.dart b/tests/corelib/collection_length_test.dart |
index e98cb1b7f129d0d4f541a44f58683d0ee6e21d1d..8c468c45b752d1f331f74f91fcba75df0439cf10 100644 |
--- a/tests/corelib/collection_length_test.dart |
+++ b/tests/corelib/collection_length_test.dart |
@@ -41,6 +41,7 @@ void testCollection(Collection collection, n) { |
} |
void testList(List list, n) { |
+ // Works even if list is fixed-length. |
for (int i = 0; i < n; i++) { |
list[i] = i; |
} |
@@ -68,8 +69,8 @@ main() { |
testCollection(new HashSet(), N); |
testCollection(new LinkedHashSet(), N); |
testCollection(new ListQueue(), N); |
+ testCollection(new DoubleLinkedQueue(), N); |
testList(new List()..length = N, N); |
testList(new List(N), N); |
testString(N); |
- // DoubleLinkedQueue has linear length, but fast isEmpty. |
} |