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 af4872fd2b066b46cfd00062dfb04b78f0bc6771..5790fe3efb4cefae61728af8ad4719c164ec21e9 100644 |
--- a/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
+++ b/tests/compiler/dart2js_extra/constant_javascript_semantics2_test.dart |
@@ -21,5 +21,5 @@ foo() { |
main() { |
Expect.throws(() => foo(), |
- (e) => e is IndexOutOfRangeException); |
+ (e) => e is RangeError); |
} |