Index: tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
diff --git a/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart b/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
index 13f0a9340d8f5269518f4bcfb6c74e61c0f741d7..6ca66936d5dffa1d55f35314394216814335720b 100644 |
--- a/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
+++ b/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
@@ -16,12 +16,11 @@ foo() { |
if (inscrutable(i) == 0) { |
i = 0x100000001; |
} |
- i = 0xFFFFFFFFF & i; // In JS semantics [:i:] will be truncated to 32 bits. |
+ i = 0xFFFFFFFFF & i; // In JS semantics [:i:] will be truncated to 32 bits. |
i = 0x100000001 - i; |
return a[i]; |
} |
main() { |
- Expect.throws(() => foo(), |
- (e) => e is RangeError); |
+ Expect.throws(() => foo(), (e) => e is RangeError); |
} |