| 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);
|
|
|