| Index: tests/corelib/list_reversed_test.dart
|
| diff --git a/tests/corelib/list_reversed_test.dart b/tests/corelib/list_reversed_test.dart
|
| index ea1e78017b923d1aeca76ec2db9cbd7f8efc4dbe..382d7feffa5adfdab433d4d017983800d0815b9e 100644
|
| --- a/tests/corelib/list_reversed_test.dart
|
| +++ b/tests/corelib/list_reversed_test.dart
|
| @@ -4,7 +4,6 @@
|
|
|
| import "package:expect/expect.dart";
|
|
|
| -
|
| main() {
|
| testOperations();
|
| }
|
| @@ -48,7 +47,6 @@ void testOperations() {
|
| Expect.listEquals(subr,
|
| reversed.skip(2).toList().reversed.skip(2).toList().reversed.toList());
|
|
|
| -
|
| void testList(List list) {
|
| var throws = const ThrowMarker();
|
| void testEquals(v1, v2, path) {
|
| @@ -63,8 +61,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);
|
| @@ -91,6 +89,7 @@ void testOperations() {
|
| }
|
| testEquals(expect, actual, "$name: $list");
|
| }
|
| +
|
| testOp((i) => i.first, "first");
|
| testOp((i) => i.last, "last");
|
| testOp((i) => i.single, "single");
|
|
|