Index: tests/corelib/const_list_set_range_test.dart |
diff --git a/tests/corelib/const_list_set_range_test.dart b/tests/corelib/const_list_set_range_test.dart |
index a32c40a0558f7295e9fd18740af8db06007e8668..08062c636e69b81d09349c54742dcb80a252ec15 100644 |
--- a/tests/corelib/const_list_set_range_test.dart |
+++ b/tests/corelib/const_list_set_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) { |