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

Unified Diff: tests/language_strong/async_control_structures_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/async_control_structures_test.dart
diff --git a/tests/language_strong/async_control_structures_test.dart b/tests/language_strong/async_control_structures_test.dart
index 23365f4af16c92f80cca3e3271e1ba6f09453620..8fcdce54043c7f5db8bb505a09cbc85ef636406d 100644
--- a/tests/language_strong/async_control_structures_test.dart
+++ b/tests/language_strong/async_control_structures_test.dart
@@ -16,7 +16,7 @@ expectThenValue(future, value) {
}
asyncIf(condition) async {
- if(condition) {
+ if (condition) {
return 1;
} else {
return 2;
@@ -53,7 +53,9 @@ asyncTryCatchLoop() async {
try {
throw throws;
} catch (e) {
- if (i == throws) { return e; }
+ if (i == throws) {
+ return e;
+ }
} finally {
i++;
}
@@ -61,9 +63,7 @@ asyncTryCatchLoop() async {
}
asyncImplicitReturn() async {
- try {}
- catch (e) {}
- finally {}
+ try {} catch (e) {} finally {}
}
main() {

Powered by Google App Engine
This is Rietveld 408576698