| Index: tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart b/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
|
| index 4fd4128d9bd041a736025453168d78b4709a13bb..2cdf6b032a179b1a8f7c16945e9b1db0a3c2b334 100644
|
| --- a/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
|
| +++ b/tests/compiler/dart2js_extra/constant_javascript_semantics3_test.dart
|
| @@ -29,11 +29,10 @@ foo() {
|
| i--;
|
| i--;
|
| i--;
|
| - i -= 8007199254740992; // In JS semantics [i] would be -3, now.
|
| + i -= 8007199254740992; // In JS semantics [i] would be -3, now.
|
| return a[i];
|
| }
|
|
|
| main() {
|
| - Expect.throws(() => foo(),
|
| - (e) => e is RangeError);
|
| + Expect.throws(() => foo(), (e) => e is RangeError);
|
| }
|
|
|