| Index: tests/corelib/string_fromcharcode_test.dart
|
| diff --git a/tests/corelib/string_fromcharcode_test.dart b/tests/corelib/string_fromcharcode_test.dart
|
| index c653fa81ffb8676d9792adcd270832a328bf39db..fcc874dcdda5b2b94792c9847af9a66e8c8a88cd 100644
|
| --- a/tests/corelib/string_fromcharcode_test.dart
|
| +++ b/tests/corelib/string_fromcharcode_test.dart
|
| @@ -20,13 +20,12 @@ main() {
|
| Expect.equals(1, unmatched.length);
|
| Expect.equals(0xDC00, unmatched.codeUnitAt(0));
|
|
|
| - Expect.throws(() => new String.fromCharCode(-1),
|
| - (e) => e is ArgumentError);
|
| + Expect.throws(() => new String.fromCharCode(-1), (e) => e is ArgumentError);
|
|
|
| // Invalid code point.
|
| - Expect.throws(() => new String.fromCharCode(0x110000),
|
| - (e) => e is ArgumentError);
|
| + Expect.throws(
|
| + () => new String.fromCharCode(0x110000), (e) => e is ArgumentError);
|
|
|
| - Expect.throws(() => new String.fromCharCode(0x110001),
|
| - (e) => e is ArgumentError);
|
| + Expect.throws(
|
| + () => new String.fromCharCode(0x110001), (e) => e is ArgumentError);
|
| }
|
|
|