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

Unified Diff: tests/kernel/unsorted/finally_contexts_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/kernel/unsorted/finally_contexts_test.dart
diff --git a/tests/kernel/unsorted/finally_contexts_test.dart b/tests/kernel/unsorted/finally_contexts_test.dart
index a392c658f5bf396bf7df7240a4207b96b22c0a58..23859168a2b512fb91bb4f8040caa86a316998ac 100644
--- a/tests/kernel/unsorted/finally_contexts_test.dart
+++ b/tests/kernel/unsorted/finally_contexts_test.dart
@@ -21,15 +21,18 @@ test(list) {
addem() {
for (var x in list) sum += x;
}
+
addem();
Expect.isTrue(sum == 15);
- L: if (sum != 15) {
+ L:
+ if (sum != 15) {
// Unreachable.
do {
var product = 1;
multiplyem() {
for (var x in list) product *= x;
}
+
multiplyem();
Expect.isTrue(false);
break L;
@@ -41,7 +44,6 @@ test(list) {
Expect.isTrue(list.length == 5);
}
-
main() {
test([1, 2, 3, 4, 5]);
}

Powered by Google App Engine
This is Rietveld 408576698