Chromium Code Reviews| Index: tests/language/is_object_test.dart |
| diff --git a/tests/language/is_object_test.dart b/tests/language/is_object_test.dart |
| index b997b76b35e3b8e27be01bcc257bed4b1b501a67..1a47bb2fa34770ea567d8698ceeac8870a5cc9d8 100644 |
| --- a/tests/language/is_object_test.dart |
| +++ b/tests/language/is_object_test.dart |
| @@ -7,7 +7,7 @@ testTryCatch(x) { |
| try { |
| throw x; |
| Expect.fail("Exception '$x' should've been thrown"); |
| - } catch (Object obj) { |
| + } on Object catch (obj) { |
| Expect.equals(obj, x); |
| } |
| } |