Index: tests/corelib_strong/list_as_map_test.dart |
diff --git a/tests/corelib_strong/list_as_map_test.dart b/tests/corelib_strong/list_as_map_test.dart |
index 51e637f0fde5bac5689c3854e35617dcd47316be..43524a205cd369d35fa42ea5d70cd452fed86504 100644 |
--- a/tests/corelib_strong/list_as_map_test.dart |
+++ b/tests/corelib_strong/list_as_map_test.dart |
@@ -47,12 +47,10 @@ void testConstAsMap(List list) { |
testListMapCorrespondence(list, map); |
- Expect.throws(() => map[0] = 499, |
- (e) => e is UnsupportedError); |
- Expect.throws(() => map.putIfAbsent(0, () => 499), |
- (e) => e is UnsupportedError); |
- Expect.throws(() => map.clear(), |
- (e) => e is UnsupportedError); |
+ Expect.throws(() => map[0] = 499, (e) => e is UnsupportedError); |
+ Expect.throws( |
+ () => map.putIfAbsent(0, () => 499), (e) => e is UnsupportedError); |
+ Expect.throws(() => map.clear(), (e) => e is UnsupportedError); |
} |
void testFixedAsMap(List list) { |