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

Unified Diff: tests/language/call_through_getter_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
Index: tests/language/call_through_getter_test.dart
diff --git a/tests/language/call_through_getter_test.dart b/tests/language/call_through_getter_test.dart
index 0200b584efb6a02abc220892be9bfd3ae54490e0..cfacf27b2c41f64c4e2f6be6d77a853098c384d6 100644
--- a/tests/language/call_through_getter_test.dart
+++ b/tests/language/call_through_getter_test.dart
@@ -121,7 +121,7 @@ class CallThroughGetterTest {
try {
fn();
Expect.equals(true, false); // Shouldn't reach this.
- } catch (var e) {
+ } catch (e) {
caught = true;
result = e;
}
« no previous file with comments | « tests/language/call_nonexistent_constructor_test.dart ('k') | tests/language/call_through_null_getter_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698