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

Unified Diff: tests/language/async_star_take_reyield_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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_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);

Powered by Google App Engine
This is Rietveld 408576698