| Index: tests/language/reg_exp_test.dart
|
| diff --git a/tests/language/reg_exp_test.dart b/tests/language/reg_exp_test.dart
|
| index cde9112c492afc1d50e4d00632a272fc45cf368b..82f459525a33a9ec00ccc32488543ce01ef254e9 100644
|
| --- a/tests/language/reg_exp_test.dart
|
| +++ b/tests/language/reg_exp_test.dart
|
| @@ -19,7 +19,7 @@ void main() {
|
| exp = new RegExp("a?");
|
| str = "babba";
|
| Expect.listEquals(["", "a", "", "", "a", ""],
|
| - exp.allMatches(str).map((x)=>x[0]).toList());
|
| + exp.allMatches(str).map((x) => x[0]).toList());
|
|
|
| // Check that allMatches works with optional start index.
|
| exp = new RegExp("as{2}");
|
| @@ -42,7 +42,7 @@ void main() {
|
| Expect.equals(0, exp.allMatches(str, 3).length);
|
|
|
| // Regression test for http://dartbug.com/2980
|
| - exp = new RegExp("^", multiLine: true); // Any zero-length match will work.
|
| + exp = new RegExp("^", multiLine: true); // Any zero-length match will work.
|
| str = "foo\nbar\nbaz";
|
| Expect.equals(" foo\n bar\n baz", str.replaceAll(exp, " "));
|
|
|
|
|