Chromium Code Reviews| Index: tests/language/issue1363_test.dart |
| diff --git a/tests/language/issue1363_test.dart b/tests/language/issue1363_test.dart |
| index 3964e6f2894cc8be56d9b2579f79651e8ffd2b39..31d9ee8d829091b6989c1ab474d8d097f67e1b11 100644 |
| --- a/tests/language/issue1363_test.dart |
| +++ b/tests/language/issue1363_test.dart |
| @@ -24,7 +24,7 @@ class C { |
| bool hasThrown = false; |
| try { |
| contents = libCup.getContents(); /// static type warning |
| - } catch (TypeError e) { |
| + } on TypeError catch (e) { |
| hasThrown = true; |
| } |
| } |