Index: tests/corelib/collection_removes_test.dart |
diff --git a/tests/corelib/collection_removes_test.dart b/tests/corelib/collection_removes_test.dart |
index 1914f6150655c9864ad6e76ad3ec462925bc5f24..d057ed865771c34d3f80d0232bea21aa88783e30 100644 |
--- a/tests/corelib/collection_removes_test.dart |
+++ b/tests/corelib/collection_removes_test.dart |
@@ -86,16 +86,16 @@ void main() { |
]; |
for (var base in collections) { |
for (var delta in collections) { |
- testRemove(base.toList(growable: true)); |
+ testRemove(base.toList()); |
testRemove(base.toSet()); |
var deltaSet = delta.toSet(); |
- testRemoveAll(base.toList(growable: true), delta); |
- testRemoveAll(base.toList(growable: true), deltaSet); |
- testRetainAll(base.toList(growable: true), delta); |
- testRetainAll(base.toList(growable: true), deltaSet); |
- testRemoveMatching(base.toList(growable: true), deltaSet.contains); |
- testRetainMatching(base.toList(growable: true), |
+ testRemoveAll(base.toList(), delta); |
+ testRemoveAll(base.toList(), deltaSet); |
+ testRetainAll(base.toList(), delta); |
+ testRetainAll(base.toList(), deltaSet); |
+ testRemoveMatching(base.toList(), deltaSet.contains); |
+ testRetainMatching(base.toList(), |
(e) => !deltaSet.contains(e)); |
testRemoveAll(base.toSet(), delta); |