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

Unified Diff: tests/language_strong/execute_finally1_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_finally1_test.dart
diff --git a/tests/language_strong/execute_finally1_test.dart b/tests/language_strong/execute_finally1_test.dart
index ee2ac092b97baf7bbfa4d25f424c84a533394728..0e8510acfd34b00a2df2184e3c391c2256f70925 100644
--- a/tests/language_strong/execute_finally1_test.dart
+++ b/tests/language_strong/execute_finally1_test.dart
@@ -6,20 +6,19 @@
import "package:expect/expect.dart";
-
class Helper {
- Helper() : i = 0 { }
+ Helper() : i = 0 {}
int f1() {
try {
int j;
j = func();
i = 1;
- return i; // Value of i on return is 1.
+ return i; // Value of i on return is 1.
} finally {
- i = i + 800; // Should get executed on return.
+ i = i + 800; // Should get executed on 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