| Index: tests/language/async_control_structures_test.dart
|
| diff --git a/tests/language/async_control_structures_test.dart b/tests/language/async_control_structures_test.dart
|
| index cd09a86fcb3a0eb34ab57f44d7efebb7e2b984f9..592ff5afa366eb33d78515da191ed0bd428d9cf2 100644
|
| --- a/tests/language/async_control_structures_test.dart
|
| +++ b/tests/language/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() {
|
|
|