| Index: tests/language/list_literal3_test.dart
|
| diff --git a/tests/language/list_literal3_test.dart b/tests/language/list_literal3_test.dart
|
| index 4a11b1da90f740d2d55c890d60c879b0fb63f44a..e82d3ac0a5330957f80867da31486b4ced1f8ec4 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";
|
| - } catch (UnsupportedOperationException e) {
|
| + } on UnsupportedOperationException catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
| @@ -41,7 +41,7 @@ class ListLiteral3Test {
|
| try {
|
| caughtException = false;
|
| a[0][0] = 42;
|
| - } catch (UnsupportedOperationException e) {
|
| + } on UnsupportedOperationException catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
| @@ -53,7 +53,7 @@ class ListLiteral3Test {
|
| try {
|
| caughtException = false;
|
| b[0][0] = 42.0;
|
| - } catch (UnsupportedOperationException e) {
|
| + } on UnsupportedOperationException catch (e) {
|
| caughtException = true;
|
| }
|
| Expect.equals(true, caughtException);
|
|
|