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

Unified Diff: tests/language/ct_const_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/language/ct_const_test.dart
diff --git a/tests/language/ct_const_test.dart b/tests/language/ct_const_test.dart
index 6f7a5348136fac26a9bcd5b05d3b1df71c94f47e..f3733645a8328988e20899c388e4163ece6081ac 100644
--- a/tests/language/ct_const_test.dart
+++ b/tests/language/ct_const_test.dart
@@ -90,7 +90,7 @@ class CTConstTest {
bool caughtException = false;
try {
c11dItaly["green"] = 0;
- } on IllegalAccessException catch (e) {
+ } on StateError catch (e) {
caughtException = true;
}
Expect.equals(true, caughtException);
@@ -99,7 +99,7 @@ class CTConstTest {
caughtException = false;
try {
c11dItaly.clear();
- } on IllegalAccessException catch (e) {
+ } on StateError catch (e) {
caughtException = true;
}
Expect.equals(true, caughtException);
@@ -108,7 +108,7 @@ class CTConstTest {
caughtException = false;
try {
c11dItaly.remove("orange");
- } on IllegalAccessException catch (e) {
+ } on StateError catch (e) {
caughtException = true;
}
Expect.equals(true, caughtException);

Powered by Google App Engine
This is Rietveld 408576698