Index: tests/corelib/exception_implementation_test.dart |
diff --git a/tests/corelib/exception_implementation_test.dart b/tests/corelib/exception_implementation_test.dart |
index 6b2c58500661d904a654edcde4c695e9e2a923e7..23b772a9d7daca894b40a1aa4ee5c548bf708fe4 100644 |
--- a/tests/corelib/exception_implementation_test.dart |
+++ b/tests/corelib/exception_implementation_test.dart |
@@ -10,7 +10,7 @@ main() { |
try { |
throw new Exception(msg); |
Expect.fail("Unreachable"); |
- } catch (Exception e) { |
+ } on Exception catch (e) { |
Expect.isTrue(e is Exception); |
Expect.isTrue(e is ExceptionImplementation); |
Expect.equals("Exception: $msg", e.toString()); |