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

Unified Diff: tests/corelib/const_list_remove_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_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) {

Powered by Google App Engine
This is Rietveld 408576698