| 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 bc31c0b1a3f9bf6db79c83dd49c28f167e056b1d..3e85114e6e8be94ff015126c66bd6131f62eb63e 100644
|
| --- a/tests/corelib/reg_exp_all_matches_test.dart
|
| +++ b/tests/corelib/reg_exp_all_matches_test.dart
|
| @@ -33,7 +33,7 @@ class RegExpAllMatchesTest {
|
| var matches = new RegExp("foo").allMatches("foo foo");
|
| var strbuf = new StringBuffer();
|
| matches.forEach((Match m) {
|
| - strbuf.add(m.group(0));
|
| + strbuf.write(m.group(0));
|
| });
|
| Expect.equals("foofoo", strbuf.toString());
|
| }
|
| @@ -44,7 +44,7 @@ class RegExpAllMatchesTest {
|
| Expect.equals(4, mapped.length);
|
| var strbuf = new StringBuffer();
|
| for (String s in mapped) {
|
| - strbuf.add(s);
|
| + strbuf.write(s);
|
| }
|
| Expect.equals("foobarfobarfoobarfobar", strbuf.toString());
|
| }
|
| @@ -57,7 +57,7 @@ class RegExpAllMatchesTest {
|
| Expect.equals(2, filtered.length);
|
| var strbuf = new StringBuffer();
|
| for (Match m in filtered) {
|
| - strbuf.add(m.group(0));
|
| + strbuf.write(m.group(0));
|
| }
|
| Expect.equals("foofoo", strbuf.toString());
|
| }
|
|
|