Index: tests/corelib/list_set_range_test.dart |
diff --git a/tests/corelib/list_set_range_test.dart b/tests/corelib/list_set_range_test.dart |
index c37e950665e33ed3762c374c9d97c8e8d40a990d..f96ede55572a69262c301afa65b718faff1e0272 100644 |
--- a/tests/corelib/list_set_range_test.dart |
+++ b/tests/corelib/list_set_range_test.dart |
@@ -57,7 +57,7 @@ main() { |
} |
void expectIOORE(Function f) { |
- Expect.throws(f, (e) => e is IndexOutOfRangeException); |
+ Expect.throws(f, (e) => e is RangeError); |
} |
void testNegativeIndices() { |