| Index: tests/corelib_strong/regexp/bol-with-multiline_test.dart
|
| diff --git a/tests/corelib_strong/regexp/bol-with-multiline_test.dart b/tests/corelib_strong/regexp/bol-with-multiline_test.dart
|
| index 46b0ea5d42399d56cd7306dd1596fe64566d660f..e43a618102e3e733c86e238113f14b99bb7b724b 100644
|
| --- a/tests/corelib_strong/regexp/bol-with-multiline_test.dart
|
| +++ b/tests/corelib_strong/regexp/bol-with-multiline_test.dart
|
| @@ -27,13 +27,14 @@ import 'package:expect/expect.dart';
|
|
|
| void main() {
|
| description(
|
| - 'Test for beginning of line (BOL or ^) matching in a multiline string</a>'
|
| - );
|
| + 'Test for beginning of line (BOL or ^) matching in a multiline string</a>');
|
|
|
| var s = "aced\nabc";
|
| shouldBeNull(firstMatch(s, new RegExp(r"^abc")));
|
| shouldBe(firstMatch(s, new RegExp(r"^abc", multiLine: true)), ["abc"]);
|
| shouldBeNull(firstMatch(s, new RegExp(r"(^|X)abc")));
|
| - shouldBe(firstMatch(s, new RegExp(r"(^|X)abc", multiLine: true)), ["abc",""]);
|
| - shouldBe(firstMatch(s, new RegExp(r"(^a|Xa)bc", multiLine: true)), ["abc","a"]);
|
| + shouldBe(
|
| + firstMatch(s, new RegExp(r"(^|X)abc", multiLine: true)), ["abc", ""]);
|
| + shouldBe(
|
| + firstMatch(s, new RegExp(r"(^a|Xa)bc", multiLine: true)), ["abc", "a"]);
|
| }
|
|
|