Index: tests/corelib/iterable_length_test.dart |
diff --git a/tests/corelib/iterable_length_test.dart b/tests/corelib/iterable_length_test.dart |
index e70f82f2e6c1ffb867337c94c1b1d18d105b246a..8dd6cdaf9eebb27239ea077e1bbf9df361718416 100644 |
--- a/tests/corelib/iterable_length_test.dart |
+++ b/tests/corelib/iterable_length_test.dart |
@@ -36,6 +36,6 @@ main() { |
a = new A(0); |
Expect.equals(0, a.length); |
a = new A(5); |
- Expect.equals(5, a.map((e) => e + 1).length); |
+ Expect.equals(5, a.mappedBy((e) => e + 1).length); |
Expect.equals(3, a.where((e) => e >= 3).length); |
} |