Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Unified Diff: runtime/vm/exceptions_test.cc

Issue 10917006: More uses of the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/unittest/vm_config.dart ('k') | runtime/vm/isolate_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"
« no previous file with comments | « pkg/unittest/vm_config.dart ('k') | runtime/vm/isolate_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698