| Index: tests/corelib/string_runes_test.dart
|
| diff --git a/tests/corelib/string_runes_test.dart b/tests/corelib/string_runes_test.dart
|
| index f0dbd54e7673522838e916987c728887a4bdbffa..fd0f4f3b1e0b00ef33937448e1251b829daad496 100644
|
| --- a/tests/corelib/string_runes_test.dart
|
| +++ b/tests/corelib/string_runes_test.dart
|
| @@ -57,7 +57,7 @@ main() {
|
|
|
| // .map
|
| Expect.listEquals(expectedRunes.map((x) => x.toRadixString(16)).toList(),
|
| - runes.map((x) => x.toRadixString(16)).toList());
|
| + runes.map((x) => x.toRadixString(16)).toList());
|
| }
|
|
|
| // First character must be single-code-unit for test.
|
| @@ -75,6 +75,10 @@ main() {
|
| Expect.equals(0x10000, it.current);
|
|
|
| // Setting rawIndex inside surrogate pair.
|
| - Expect.throws(() { it.rawIndex = 1; }, (e) => e is Error);
|
| - Expect.throws(() { it.reset(1); }, (e) => e is Error);
|
| + Expect.throws(() {
|
| + it.rawIndex = 1;
|
| + }, (e) => e is Error);
|
| + Expect.throws(() {
|
| + it.reset(1);
|
| + }, (e) => e is Error);
|
| }
|
|
|