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

Unified Diff: tests/language_strong/execute_finally2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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
Index: tests/language_strong/execute_finally2_test.dart
diff --git a/tests/language_strong/execute_finally2_test.dart b/tests/language_strong/execute_finally2_test.dart
index 7eaec3ed53986a8a0a3bfca05b0d8c7f0d48c39e..fd64f696da30474db92aff91ce850d04b79af4e2 100644
--- a/tests/language_strong/execute_finally2_test.dart
+++ b/tests/language_strong/execute_finally2_test.dart
@@ -6,9 +6,8 @@
import "package:expect/expect.dart";
-
class Helper {
- Helper() : i = 0 { }
+ Helper() : i = 0 {}
int f1() {
try {
@@ -16,16 +15,16 @@ class Helper {
j = func();
try {
i = 1;
- return i; // Value of i is 1 on return.
+ return i; // Value of i is 1 on return.
} finally {
- i = i + 400; // Should get executed when we return.
+ i = i + 400; // Should get executed when we return.
}
- i = 2; // Should not get executed.
+ i = 2; // Should not get executed.
return i;
} finally {
- i = i + 800; // Should get executed when we return.
+ i = i + 800; // Should get executed when we return.
}
- return i + 200; // Should not get executed.
+ return i + 200; // Should not get executed.
}
static int func() {

Powered by Google App Engine
This is Rietveld 408576698