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

Unified Diff: tests/language_strong/execute_finally6_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_finally6_test.dart
diff --git a/tests/language_strong/execute_finally6_test.dart b/tests/language_strong/execute_finally6_test.dart
index ff2e6e70bf6f9243d9175ffb5b3229dfd57dc4db..e9c5ea54b67d4ea6f37dbb6652aea884841a9683 100644
--- a/tests/language_strong/execute_finally6_test.dart
+++ b/tests/language_strong/execute_finally6_test.dart
@@ -6,9 +6,8 @@
import "package:expect/expect.dart";
-
class Helper {
- Helper() : i = 0 { }
+ Helper() : i = 0 {}
int f1() {
try {
@@ -28,26 +27,26 @@ class Helper {
while (j < 50) {
j += func();
if (j > 30) {
- break L1; // Break out of nested try blocks.
+ break L1; // Break out of nested try blocks.
}
}
- i += 200000; // Should get executed.
+ i += 200000; // Should get executed.
} finally {
- i = i + 200; // Should get executed as normal control flow.
+ i = i + 200; // Should get executed as normal control flow.
}
} finally {
- i = i + 400; // Should get executed as normal control flow.
+ i = i + 400; // Should get executed as normal control flow.
}
}
}
} 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 201401.
+ return i; // Value of i should be 201401.
} 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