Index: tests/corelib/const_list_remove_range_test.dart |
diff --git a/tests/corelib/const_list_remove_range_test.dart b/tests/corelib/const_list_remove_range_test.dart |
index b15d793390a574ecf1a2abdef9570d1c0fac878f..db38336d2fcedc2799995a116cac32a350c86fda 100644 |
--- a/tests/corelib/const_list_remove_range_test.dart |
+++ b/tests/corelib/const_list_remove_range_test.dart |
@@ -9,7 +9,7 @@ main() { |
} |
void expectUOE(Function f) { |
- Expect.throws(f, (e) => e is UnsupportedOperationException); |
+ Expect.throws(f, (e) => e is UnsupportedError); |
} |
testImmutable(var list) { |