Index: runtime/vm/exceptions_test.cc |
diff --git a/runtime/vm/exceptions_test.cc b/runtime/vm/exceptions_test.cc |
index 667f017bfb87c7d6d86f70a54f74c83db3f238d5..9111615ce34d2d712b5c6cdf60f5a75296638757 100644 |
--- a/runtime/vm/exceptions_test.cc |
+++ b/runtime/vm/exceptions_test.cc |
@@ -114,7 +114,7 @@ TEST_CASE(UnhandledExceptions) { |
" static int method3(int param) {\n" |
" try {\n" |
" UnhandledExceptions.invoke2();\n" |
- " } catch (Second e) {\n" |
+ " } on Second catch (e) {\n" |
" return 3;\n" |
" }\n" |
" return 2;\n" |