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

Unified Diff: tests/language/async_continue_label_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 years, 9 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/async_continue_label_test.dart
diff --git a/tests/language/async_continue_label_test.dart b/tests/language/async_continue_label_test.dart
index d2d7cc85e9077d056b005e66060f7b573f0a1332..3ace73af4da1a1d7132c849c7beeff4e6467361a 100644
--- a/tests/language/async_continue_label_test.dart
+++ b/tests/language/async_continue_label_test.dart
@@ -10,14 +10,14 @@ test1() async {
var r = 0;
label:
for(var i = 1, j =
- await /// await_in_init: ok
+ await //# await_in_init: ok
10; i < 10 && j >
- await /// await_in_condition: ok
+ await //# await_in_condition: ok
-5; j--, i +=
- await /// await_in_update: ok
+ await //# await_in_update: ok
1) {
if (i <
- await /// await_in_body: ok
+ await //# await_in_body: ok
5 || j < -5) {
continue label;
}
@@ -31,14 +31,14 @@ test2() async {
var r = 0;
label:
for(var i =
- await /// await_in_init: ok
+ await //# await_in_init: ok
0; i <
- await /// await_in_condition: ok
+ await //# await_in_condition: ok
10; i +=
- await /// await_in_update: ok
+ await //# await_in_update: ok
1) {
if (i <
- await /// await_in_body: ok
+ await //# await_in_body: ok
5) {
continue label;
}
@@ -52,14 +52,14 @@ test3() async {
var r = 0, i, j;
label:
for(i =
- await /// await_in_init: ok
+ await //# await_in_init: ok
0; i <
- await /// await_in_condition: ok
+ await //# await_in_condition: ok
10; i +=
- await /// await_in_update: ok
+ await //# await_in_update: ok
1) {
if (i <
- await /// await_in_body: ok
+ await //# await_in_body: ok
5) {
continue label;
}
@@ -73,14 +73,14 @@ test4() async {
var r = 0;
label:
for(var i =
- await /// await_in_init: ok
+ await //# await_in_init: ok
0; i <
- await /// await_in_condition: ok
+ await //# await_in_condition: ok
10; i+=
- await /// await_in_update: ok
+ await //# await_in_update: ok
1) {
if (i <
- await /// await_in_body: ok
+ await //# await_in_body: ok
5) {
for (int i = 0; i < 10; i++) {
continue label;

Powered by Google App Engine
This is Rietveld 408576698