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

Unified Diff: tests/language/stack_trace_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/final_used_in_try_test.dart ('k') | tests/language/throw3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/stack_trace_test.dart
diff --git a/tests/language/stack_trace_test.dart b/tests/language/stack_trace_test.dart
index 2f584a65a45f9c50f308f279d8ec5e287c96edfe..e2fd82721329d80805ef494869a9bddf2db38272 100644
--- a/tests/language/stack_trace_test.dart
+++ b/tests/language/stack_trace_test.dart
@@ -70,7 +70,7 @@ class Helper {
try {
func();
} on MyException catch (exception) {
- throw;
+ rethrow;
}
return 10;
}
« no previous file with comments | « tests/language/final_used_in_try_test.dart ('k') | tests/language/throw3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698