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

Unified Diff: tests/language/throw3_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/stack_trace_test.dart ('k') | tests/language/try_catch3_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/throw3_test.dart
diff --git a/tests/language/throw3_test.dart b/tests/language/throw3_test.dart
index 111404c9f615d0fbb0e61fefcb56fc3800e46fc7..9a3ef0ad5d130505a97ebe8eb41f7a926b22c838 100644
--- a/tests/language/throw3_test.dart
+++ b/tests/language/throw3_test.dart
@@ -37,7 +37,7 @@ class Helper {
}
} on MyException catch (ex) {
print(ex.message_);
- throw; // Rethrow the exception.
+ rethrow; // Rethrow the exception.
}
return 10;
}
« no previous file with comments | « tests/language/stack_trace_test.dart ('k') | tests/language/try_catch3_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698