| Index: tests/language/list_literal3_test.dart
|
| diff --git a/tests/language/list_literal3_test.dart b/tests/language/list_literal3_test.dart
|
| index e82d3ac0a5330957f80867da31486b4ced1f8ec4..497aee43d6cc0f68846a281428ae1f086479b76b 100644
|
| --- a/tests/language/list_literal3_test.dart
|
| +++ b/tests/language/list_literal3_test.dart
|
| @@ -19,7 +19,7 @@ class ListLiteral3Test {
|
| bool caughtException = false;
|
| try {
|
| joke[0] = "sock";
|
| - } on UnsupportedOperationException catch (e) {
|
| + } on UnsupportedError catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
| @@ -41,7 +41,7 @@ class ListLiteral3Test {
|
| try {
|
| caughtException = false;
|
| a[0][0] = 42;
|
| - } on UnsupportedOperationException catch (e) {
|
| + } on UnsupportedError catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
| @@ -53,7 +53,7 @@ class ListLiteral3Test {
|
| try {
|
| caughtException = false;
|
| b[0][0] = 42.0;
|
| - } on UnsupportedOperationException catch (e) {
|
| + } on UnsupportedError catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
|
|