| Index: tests/language/try_catch2_test.dart
|
| diff --git a/tests/language/try_catch2_test.dart b/tests/language/try_catch2_test.dart
|
| index d7d52fc9a0697136b3507cc48865796f5b2ed85d..e509ac47dd4ac6463c97ad255d3ef8bdb37ac70d 100644
|
| --- a/tests/language/try_catch2_test.dart
|
| +++ b/tests/language/try_catch2_test.dart
|
| @@ -27,13 +27,13 @@ class Helper {
|
| try {
|
| j = f2() + f3() + j;
|
| i = i + 1;
|
| - } catch (TestException e, StackTrace trace) {
|
| + } on TestException catch (e, trace) {
|
| j = 50;
|
| }
|
| j = f3() + j;
|
| - } catch (MyException exception) {
|
| + } on MyException catch (exception) {
|
| i = 100;
|
| - } catch (TestException e, StackTrace trace) {
|
| + } on TestException catch (e, trace) {
|
| i = 200;
|
| }
|
| return i;
|
|
|