Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(569)

Unified Diff: tests/corelib/const_list_set_range_test.dart

Issue 11235054: Removed IllegalAccessException and UnsupportedOperationException. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..200fe3ff6ac94cef86fdb4ccc26844e47ce49981 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 StateError);
}
testImmutable(var list) {

Powered by Google App Engine
This is Rietveld 408576698