Index: tests/language/async_continue_label_test.dart |
diff --git a/tests/language/async_continue_label_test.dart b/tests/language/async_continue_label_test.dart |
index c33fa532eb8d6580ad017d9f04ce14b321f36c62..3ace73af4da1a1d7132c849c7beeff4e6467361a 100644 |
--- a/tests/language/async_continue_label_test.dart |
+++ b/tests/language/async_continue_label_test.dart |
@@ -9,22 +9,16 @@ import "package:async_helper/async_helper.dart"; |
test1() async { |
var r = 0; |
label: |
- for (var i = 1, |
- j = |
+ for(var i = 1, j = |
await //# await_in_init: ok |
- 10; |
- i < 10 && |
- j > |
+ 10; i < 10 && j > |
await //# await_in_condition: ok |
- -5; |
- j--, |
- i += |
+ -5; j--, i += |
await //# await_in_update: ok |
- 1) { |
- if (i < |
+ 1) { |
+ if (i < |
await //# await_in_body: ok |
- 5 || |
- j < -5) { |
+ 5 || j < -5) { |
continue label; |
} |
r++; |
@@ -36,18 +30,16 @@ test1() async { |
test2() async { |
var r = 0; |
label: |
- for (var i = |
+ for(var i = |
await //# await_in_init: ok |
- 0; |
- i < |
+ 0; i < |
await //# await_in_condition: ok |
- 10; |
- i += |
+ 10; i += |
await //# await_in_update: ok |
- 1) { |
+ 1) { |
if (i < |
await //# await_in_body: ok |
- 5) { |
+ 5) { |
continue label; |
} |
r++; |
@@ -59,18 +51,16 @@ test2() async { |
test3() async { |
var r = 0, i, j; |
label: |
- for (i = |
+ for(i = |
await //# await_in_init: ok |
- 0; |
- i < |
+ 0; i < |
await //# await_in_condition: ok |
- 10; |
- i += |
+ 10; i += |
await //# await_in_update: ok |
- 1) { |
- if (i < |
+ 1) { |
+ if (i < |
await //# await_in_body: ok |
- 5) { |
+ 5) { |
continue label; |
} |
r++; |
@@ -82,21 +72,19 @@ test3() async { |
test4() async { |
var r = 0; |
label: |
- for (var i = |
+ for(var i = |
await //# await_in_init: ok |
- 0; |
- i < |
+ 0; i < |
await //# await_in_condition: ok |
- 10; |
- i += |
+ 10; i+= |
await //# await_in_update: ok |
- 1) { |
+ 1) { |
if (i < |
await //# await_in_body: ok |
- 5) { |
+ 5) { |
for (int i = 0; i < 10; i++) { |
continue label; |
- } |
+ } |
} |
r++; |
} |