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

Unified Diff: tests/language/final_used_in_try_test.dart

Issue 22548003: Fix uses of throw/rethrow in tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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/execute_finally11_test.dart ('k') | tests/language/stack_trace_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/final_used_in_try_test.dart
diff --git a/tests/language/final_used_in_try_test.dart b/tests/language/final_used_in_try_test.dart
index 3fbfddf85da3bfc82a0198ff041ddb91ebaf6996..259ba8dce8bccf98ea5734833fa61dba86b76239 100644
--- a/tests/language/final_used_in_try_test.dart
+++ b/tests/language/final_used_in_try_test.dart
@@ -10,7 +10,7 @@ main() {
try {
Expect.equals('f', a);
} catch (e) {
- throw;
+ rethrow;
}
break;
}
« no previous file with comments | « tests/language/execute_finally11_test.dart ('k') | tests/language/stack_trace_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698