Index: tests/language/await_for_cancel_test.dart |
diff --git a/tests/language/await_for_cancel_test.dart b/tests/language/await_for_cancel_test.dart |
index 1374f4b22357d7d73177db63864a0b33f5600352..c308b4f5e23fe8e5f839978691ab30f13e9baf44 100644 |
--- a/tests/language/await_for_cancel_test.dart |
+++ b/tests/language/await_for_cancel_test.dart |
@@ -12,7 +12,8 @@ test1() async { |
canceled = false; |
try { |
StreamController controller = infiniteStreamController(); |
- outer: while(true) { |
+ outer: |
+ while (true) { |
await for (var x in controller.stream) { |
for (int j = 0; j < 10; j++) { |
if (j == 5) break outer; |
@@ -29,7 +30,8 @@ test2() async { |
try { |
StreamController controller = infiniteStreamController(); |
bool first = true; |
- outer: while(true) { |
+ outer: |
+ while (true) { |
if (first) { |
first = false; |
} else { |
@@ -58,7 +60,6 @@ main() { |
}); |
} |
- |
// Create a stream that produces numbers [1, 2, ... ] |
StreamController infiniteStreamController() { |
StreamController controller; |