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

Unified Diff: tests/language/try_catch3_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/throw3_test.dart ('k') | tests/language/type_error_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/try_catch3_test.dart
diff --git a/tests/language/try_catch3_test.dart b/tests/language/try_catch3_test.dart
index b6b6e60a8d319e66fc6b10b5f89332cc0bfea5f5..e485b61bed7954ce7a8beb9c929af83e2ead2fd1 100644
--- a/tests/language/try_catch3_test.dart
+++ b/tests/language/try_catch3_test.dart
@@ -81,7 +81,7 @@ class Helper {
} on MyParameterizedException<String, TestException> catch (e, trace) {
i = 800;
trace.printStackTrace(e);
- throw;
+ rethrow;
} on MyException catch (exception) {
i = 100;
print(exception.getMessage());
« no previous file with comments | « tests/language/throw3_test.dart ('k') | tests/language/type_error_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698