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