Index: pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart |
diff --git a/pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart b/pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart |
index 2e96e487361039dadeb4b101bc1d181b4dd5d95a..c71b7e8e5fab4260db13c4083e8cbdc5f39ef208 100644 |
--- a/pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart |
+++ b/pkg/unmodifiable_collection/test/unmodifiable_collection_test.dart |
@@ -443,11 +443,11 @@ void testNoChangeLengthList(List original, List wrapped, String name) { |
}); |
testThrows("$name - removeWhere throws", () { |
- wrapped.removeWhere((E element) => false); |
+ wrapped.removeWhere((element) => false); |
}); |
testThrows("$name - retainWhere throws", () { |
- wrapped.retainWhere((E element) => true); |
+ wrapped.retainWhere((element) => true); |
}); |
testThrows("$name - removeRange throws", () { |