| Index: tests/corelib_2/regexp/global_test.dart
|
| diff --git a/tests/corelib_strong/regexp/global_test.dart b/tests/corelib_2/regexp/global_test.dart
|
| similarity index 98%
|
| rename from tests/corelib_strong/regexp/global_test.dart
|
| rename to tests/corelib_2/regexp/global_test.dart
|
| index 1954916dd14e5b8ee4a7a3e6dc859a7fb21a390f..a19b7f7cf721fffcd34c0e8075ea9dee140b3710 100644
|
| --- a/tests/corelib_strong/regexp/global_test.dart
|
| +++ b/tests/corelib_2/regexp/global_test.dart
|
| @@ -60,7 +60,7 @@ void main() {
|
| str = str.replaceAllMapped(new RegExp(r"(FOUR|TWO) LEGS (GOOD|BAD)"), (m) {
|
| if (m.group(1) == "FOUR") assertTrue(m.group(2) == "GOOD");
|
| if (m.group(1) == "TWO") assertTrue(m.group(2) == "BAD");
|
| - return m.group(0).length - 10;
|
| + return (m.group(0).length - 10).toString();
|
| });
|
| assertEquals("4, 2!", str);
|
|
|
| @@ -96,7 +96,7 @@ void main() {
|
| str = str.replaceAllMapped(new RegExp(r"(FOUR|TWO) \u817f (GOOD|BAD)"), (m) {
|
| if (m.group(1) == "FOUR") assertTrue(m.group(2) == "GOOD");
|
| if (m.group(1) == "TWO") assertTrue(m.group(2) == "BAD");
|
| - return m.group(0).length - 7;
|
| + return (m.group(0).length - 7).toString();
|
| });
|
| assertEquals("4, 2!", str);
|
|
|
|
|