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

Unified Diff: tests/language/static_initializer_type_error_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/statement_test.dart ('k') | tests/language/string_interpolate_npe_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/static_initializer_type_error_test.dart
diff --git a/tests/language/static_initializer_type_error_test.dart b/tests/language/static_initializer_type_error_test.dart
index 228544edea4532ede7144e987e3705aa43c5b5be..075060329e226748f870307faa720ba21bfa2d34 100644
--- a/tests/language/static_initializer_type_error_test.dart
+++ b/tests/language/static_initializer_type_error_test.dart
@@ -10,7 +10,7 @@ bool readXThrows() {
try {
var y = x;
return false;
- } catch (var e) {
+ } catch (e) {
x = 5; // Make sure we do not throw exception a second time.
return true;
}
« no previous file with comments | « tests/language/statement_test.dart ('k') | tests/language/string_interpolate_npe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698