| Index: tests/lib_strong/typed_data/typed_list_iterable_test.dart
|
| diff --git a/tests/lib_strong/typed_data/typed_list_iterable_test.dart b/tests/lib_strong/typed_data/typed_list_iterable_test.dart
|
| index acdfa4ba8ab41a4b2c80c7f0c86b89a3ceb213d2..0bf2e48b2eae37fb69d7e82033764bac1ae27be4 100644
|
| --- a/tests/lib_strong/typed_data/typed_list_iterable_test.dart
|
| +++ b/tests/lib_strong/typed_data/typed_list_iterable_test.dart
|
| @@ -78,7 +78,9 @@ void testIterableFunctions(list, first, last) {
|
| int reduceResult = 1;
|
| Expect.equals(list.length, list.reduce((x, y) => ++reduceResult));
|
| } else {
|
| - Expect.equals(first, list.reduce((x, y) { throw "should not be called"; }));
|
| + Expect.equals(first, list.reduce((x, y) {
|
| + throw "should not be called";
|
| + }));
|
| }
|
|
|
| Expect.isTrue(list.skip(list.length).isEmpty);
|
| @@ -116,7 +118,10 @@ void emptyChecks(list) {
|
| Expect.listEquals([], list.expand((x) => []).toList());
|
| Expect.listEquals([], list.expand((x) => [x, x]).toList());
|
| Expect.listEquals(
|
| - [], list.expand((x) { throw "should not be reached"; }).toList());
|
| + [],
|
| + list.expand((x) {
|
| + throw "should not be reached";
|
| + }).toList());
|
| Expect.listEquals([], list.fold([], (result, x) => result..add(x)));
|
| Expect.equals(list.toList().join("*"), list.join("*"));
|
| Expect.listEquals(list, list.map((x) => x).toList());
|
|
|