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

Unified Diff: tests/language/execute_finally11_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_finally10_test.dart ('k') | tests/language/final_used_in_try_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/execute_finally11_test.dart
diff --git a/tests/language/execute_finally11_test.dart b/tests/language/execute_finally11_test.dart
index 093d7dc4b1c3c64298f40562b10f2aebea07bbc9..9ab66aa02fa0558fc0ef8932e04f27fb03abbcb2 100644
--- a/tests/language/execute_finally11_test.dart
+++ b/tests/language/execute_finally11_test.dart
@@ -6,7 +6,7 @@
// block as a successor of a nested try block.
import "package:expect/expect.dart";
-
+
class A {
var field;
start() {}
@@ -29,7 +29,7 @@ class B {
runCompiler.toString();
} catch (exception) {
}
- throw;
+ rethrow;
} finally {
totalCompileTime.stop();
}
« no previous file with comments | « tests/language/execute_finally10_test.dart ('k') | tests/language/final_used_in_try_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698