Index: tests/language/async_star_take_reyield_test.dart |
diff --git a/tests/language/async_star_take_reyield_test.dart b/tests/language/async_star_take_reyield_test.dart |
index f2e8737e931bc71e3f6b192df35cb07d6ada11b2..eede02992542d82dc6e680ac12324d30d3fb31fe 100644 |
--- a/tests/language/async_star_take_reyield_test.dart |
+++ b/tests/language/async_star_take_reyield_test.dart |
@@ -19,8 +19,9 @@ Stream makeStream(int n) async* { |
main() { |
fivePartialSums(Stream s) async* { |
var r = 0; |
- await for(var v in s.take(5)) yield r += v; |
+ await for (var v in s.take(5)) yield r += v; |
} |
+ |
asyncStart(); |
expectList(fivePartialSums(makeStream(10)), [0, 1, 3, 6, 10]) |
.then(asyncSuccess); |