| Index: tests/language/throw3_test.dart
|
| diff --git a/tests/language/throw3_test.dart b/tests/language/throw3_test.dart
|
| index a8f611950e14809a5fffe658b810e7a3dabc9ace..49d184f4ccc9097234ec696dd6e15dc46109c7df 100644
|
| --- a/tests/language/throw3_test.dart
|
| +++ b/tests/language/throw3_test.dart
|
| @@ -15,7 +15,7 @@ class Helper {
|
| i = 100;
|
| i = func();
|
| i = 200;
|
| - } catch (MyException exception) {
|
| + } on MyException catch (exception) {
|
| i = 50;
|
| print(exception.message_);
|
| } finally {
|
| @@ -33,7 +33,7 @@ class Helper {
|
| if (i > 0) {
|
| throw new MyException("Test for exception being thrown");
|
| }
|
| - } catch (MyException ex) {
|
| + } on MyException catch (ex) {
|
| print(ex.message_);
|
| throw; // Rethrow the exception.
|
| }
|
|
|