Index: tests/corelib/reg_exp_all_matches_test.dart |
diff --git a/tests/corelib/reg_exp_all_matches_test.dart b/tests/corelib/reg_exp_all_matches_test.dart |
index 27c8ea7e9901b8c1e5233019c357e9ab6aa5a328..bc31c0b1a3f9bf6db79c83dd49c28f167e056b1d 100644 |
--- a/tests/corelib/reg_exp_all_matches_test.dart |
+++ b/tests/corelib/reg_exp_all_matches_test.dart |
@@ -40,7 +40,7 @@ class RegExpAllMatchesTest { |
static testMap() { |
var matches = new RegExp("foo?").allMatches("foo fo foo fo"); |
- var mapped = matches.mappedBy((Match m) => "${m.group(0)}bar"); |
+ var mapped = matches.map((Match m) => "${m.group(0)}bar"); |
Expect.equals(4, mapped.length); |
var strbuf = new StringBuffer(); |
for (String s in mapped) { |