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

Unified Diff: tests/language_strong/execute_finally3_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_finally3_test.dart
diff --git a/tests/language_strong/execute_finally3_test.dart b/tests/language_strong/execute_finally3_test.dart
index 1da7b6f5cba5c4a43b7b96a126888302f35fe2cc..c36ba0fe29130366d68a40e262347fa2fc0d91a8 100644
--- a/tests/language_strong/execute_finally3_test.dart
+++ b/tests/language_strong/execute_finally3_test.dart
@@ -6,9 +6,8 @@
import "package:expect/expect.dart";
-
class Helper {
- Helper() : i = 0 { }
+ Helper() : i = 0 {}
int f1() {
try {
@@ -27,26 +26,26 @@ class Helper {
while (j < 50) {
j += func();
if (j > 30) {
- continue L1; // Break out of nested try blocks.
+ continue L1; // Break out of nested try blocks.
}
}
- i = 200000; // Should not get executed.
+ i = 200000; // Should not get executed.
} finally {
- i = i + 200; // Should get executed when we break out.
+ i = i + 200; // Should get executed when we break out.
}
} finally {
- i = i + 400; // Should get executed when we break out.
+ i = i + 400; // Should get executed when we break out.
}
}
}
} finally {
- i = i + 800; // Should get executed as normal control flow.
+ i = i + 800; // Should get executed as normal control flow.
}
- return i; // Value of i should be 1401.
+ return i; // Value of i should be 1401.
} finally {
- i = i + 1600; // Should get executed as part of return above.
+ i = i + 1600; // Should get executed as part of return above.
}
- i = i + 2000000; // Should not get executed.
+ i = i + 2000000; // Should not get executed.
return 1;
}

Powered by Google App Engine
This is Rietveld 408576698