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

Unified Diff: tests/language/execute_finally10_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/co19/co19-dart2js.status ('k') | tests/language/execute_finally11_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/execute_finally10_test.dart
diff --git a/tests/language/execute_finally10_test.dart b/tests/language/execute_finally10_test.dart
index 4591908ee184525adb3bd48fbdf9bb8993d12218..74beb5a3c0001cc51da120fd8097e873c21ed192 100644
--- a/tests/language/execute_finally10_test.dart
+++ b/tests/language/execute_finally10_test.dart
@@ -6,7 +6,7 @@
// block as a successor of a catch block that throws.
import "package:expect/expect.dart";
-
+
class A {
var field;
start() {}
@@ -26,7 +26,7 @@ class B {
// variable.
runCompiler.toString();
runCompiler.toString();
- throw;
+ rethrow;
} finally {
totalCompileTime.stop();
}
« no previous file with comments | « tests/co19/co19-dart2js.status ('k') | tests/language/execute_finally11_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698