Index: test/unmodifiable_collection_test.dart |
diff --git a/test/unmodifiable_collection_test.dart b/test/unmodifiable_collection_test.dart |
index 82189abe6087f4728b7af78990eeb46af7a04d0d..6c722d090c15ce028c8efd42ce26d8daaeb2cd71 100644 |
--- a/test/unmodifiable_collection_test.dart |
+++ b/test/unmodifiable_collection_test.dart |
@@ -42,21 +42,6 @@ main() { |
testUnmodifiableSet(aSet, new UnmodifiableSetView(aSet), "three-42"); |
aSet = new Set.from([1, 7, 10]); |
testUnmodifiableSet(aSet, new UnmodifiableSetView(aSet), "three!42"); |
- |
- Map map = new Map(); |
- testUnmodifiableMap(map, new UnmodifiableMapView(map), "empty"); |
- map = new Map()..[0] = 2; |
- testUnmodifiableMap(map, new UnmodifiableMapView(map), "single-0"); |
- map = new Map()..[3] = 2; |
- testUnmodifiableMap(map, new UnmodifiableMapView(map), "single!0"); |
- map = new Map()..[0] = 2 |
- ..[1] = 1 |
- ..[2] = 0; |
- testUnmodifiableMap(map, new UnmodifiableMapView(map), "three-0"); |
- map = new Map()..[3] = 2 |
- ..[1] = 1 |
- ..[2] = 3; |
- testUnmodifiableMap(map, new UnmodifiableMapView(map), "three!0"); |
} |
void testUnmodifiableList(List original, List wrapped, String name) { |
@@ -82,12 +67,6 @@ void testUnmodifiableSet(Set original, Set wrapped, String name) { |
testNoChangeSet(original, wrapped, name); |
} |
-void testUnmodifiableMap(Map original, Map wrapped, name) { |
- name = "unmodifiable-map-$name"; |
- testReadMap(original, wrapped, name); |
- testNoChangeMap(original, wrapped, name); |
-} |
- |
void testIterable(Iterable original, Iterable wrapped, String name) { |
test("$name - any", () { |
expect(wrapped.any((x) => true), equals(original.any((x) => true))); |