| Index: tests/corelib/list_map_test.dart
|
| diff --git a/tests/corelib/list_map_test.dart b/tests/corelib/list_map_test.dart
|
| index 947f40ad3d3cc5f5d723fbb556599cf4b74ceaea..c56b25493bd1bf1fe2c633b64f9a4813d6e34a16 100644
|
| --- a/tests/corelib/list_map_test.dart
|
| +++ b/tests/corelib/list_map_test.dart
|
| @@ -49,7 +49,6 @@ void testOperations() {
|
| Expect.listEquals(subr,
|
| reversed.skip(2).toList().reversed.skip(2).toList().reversed.toList());
|
|
|
| -
|
| void testList(List list) {
|
| var throws = const ThrowMarker();
|
| List mappedList = new List(list.length);
|
| @@ -70,8 +69,8 @@ void testOperations() {
|
| index++;
|
| }
|
| if (i2.moveNext()) {
|
| - Expect.fail(
|
| - "Too many actual values. Actual[$index] == ${i2.current}");
|
| + Expect
|
| + .fail("Too many actual values. Actual[$index] == ${i2.current}");
|
| }
|
| } else {
|
| Expect.equals(v1, v2, path);
|
| @@ -93,6 +92,7 @@ void testOperations() {
|
| }
|
| testEquals(expect, actual, "$name: $list");
|
| }
|
| +
|
| testOp((i) => i.first, "first");
|
| testOp((i) => i.last, "last");
|
| testOp((i) => i.single, "single");
|
|
|