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

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: ADded test expectations. 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
« no previous file with comments | « tests/language/compile_time_constant_b_test.dart ('k') | tests/language/list_literal3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..a710509eaafa12b5016d69c35807fae38ce0ffcf 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 UnsupportedError catch (e) {
caughtException = true;
}
Expect.equals(true, caughtException);
@@ -99,7 +99,7 @@ class CTConstTest {
caughtException = false;
try {
c11dItaly.clear();
- } on IllegalAccessException catch (e) {
+ } on UnsupportedError 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 UnsupportedError catch (e) {
caughtException = true;
}
Expect.equals(true, caughtException);
« no previous file with comments | « tests/language/compile_time_constant_b_test.dart ('k') | tests/language/list_literal3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698