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

Unified Diff: tests/language/try_catch_on_syntax_test.dart

Issue 10891020: Update almost all tests (except co19) to use the new try-catch syntax. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge. 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 | « tests/language/try_catch2_test.dart ('k') | tests/language/try_catch_syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch_on_syntax_test.dart
diff --git a/tests/language/try_catch_on_syntax_test.dart b/tests/language/try_catch_on_syntax_test.dart
index 702854891f32378dd72f29dfc6bb6d0e6e5b126a..4611f610ced335c9a1f665abf82f8503a9c7fdb8 100644
--- a/tests/language/try_catch_on_syntax_test.dart
+++ b/tests/language/try_catch_on_syntax_test.dart
@@ -13,7 +13,7 @@ class TryCatchTest {
var foo = 0;
try {
throw new MyException1();
- }
+ }
on MyException3 catch (e) { } /// 01: compile-time error
on on MyException2 catch (e) { } /// 02: compile-time error
catch MyException2 catch (e) { } /// 03: compile-time error
« no previous file with comments | « tests/language/try_catch2_test.dart ('k') | tests/language/try_catch_syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698