Index: tests/corelib/list_get_range_test.dart |
diff --git a/tests/corelib/list_get_range_test.dart b/tests/corelib/list_get_range_test.dart |
index 431af2cd885d8657535640a447e62f2540c5517d..88baeb6329504f0c6b487ab08889ba4862788a3d 100644 |
--- a/tests/corelib/list_get_range_test.dart |
+++ b/tests/corelib/list_get_range_test.dart |
@@ -37,7 +37,7 @@ main() { |
} |
void expectIOORE(Function f) { |
- Expect.throws(f, (e) => e is IndexOutOfRangeException); |
+ Expect.throws(f, (e) => e is RangeError); |
} |
void expectIAE(Function f) { |