| Index: tests/corelib_strong/regexp/find-first-asserted_test.dart
|
| diff --git a/tests/corelib_strong/regexp/find-first-asserted_test.dart b/tests/corelib_strong/regexp/find-first-asserted_test.dart
|
| index 9dbc9f8a69c48a6aae107d7c5c202efd79457b91..e985bf0a2dcc5340a2228046290745588c8bf7fb 100644
|
| --- a/tests/corelib_strong/regexp/find-first-asserted_test.dart
|
| +++ b/tests/corelib_strong/regexp/find-first-asserted_test.dart
|
| @@ -27,9 +27,11 @@ import 'package:expect/expect.dart';
|
|
|
| void main() {
|
| description(
|
| - 'Tests some regular expressions that were doing the wrong thing with the "find first asserted" optimization.'
|
| - );
|
| + 'Tests some regular expressions that were doing the wrong thing with the "find first asserted" optimization.');
|
|
|
| - shouldBe(new RegExp(r".*<body>(.*)</body>.*").firstMatch("foo<body>bar</body>baz"), ["foo<body>bar</body>baz", "bar"]);
|
| - shouldBe(new RegExp(r"\s*<!--([\s\S]*)//\s*-->\s*").firstMatch("<!--// -->"), ["<!--// -->", ""]);
|
| + shouldBe(
|
| + new RegExp(r".*<body>(.*)</body>.*").firstMatch("foo<body>bar</body>baz"),
|
| + ["foo<body>bar</body>baz", "bar"]);
|
| + shouldBe(new RegExp(r"\s*<!--([\s\S]*)//\s*-->\s*").firstMatch("<!--// -->"),
|
| + ["<!--// -->", ""]);
|
| }
|
|
|