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..ceee1885fc787162a23e8e91b212628892eaff5e 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 StateError); |
} |
testImmutable(var list) { |