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

Unified Diff: tests/language_strong/syncstar_yieldstar_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_strong/syncstar_yieldstar_test.dart
diff --git a/tests/language_strong/syncstar_yieldstar_test.dart b/tests/language_strong/syncstar_yieldstar_test.dart
index 6a9ad921de1c71323fed92efed76f9298b1e20c9..82e7166e27a7349a0e3b9add69fcb8270c70a805 100644
--- a/tests/language_strong/syncstar_yieldstar_test.dart
+++ b/tests/language_strong/syncstar_yieldstar_test.dart
@@ -21,9 +21,9 @@ foo() sync* {
yield null;
// TODO(jmesserly): added cast here to work around:
// https://codereview.chromium.org/1213503002/
- yield* bar() as Iterable;
+ yield* bar() as Iterable;
}
-main () async {
+main() async {
Expect.listEquals([1, 2, 3, null, 1, 1, 2, 3, 5], foo().take(9).toList());
}

Powered by Google App Engine
This is Rietveld 408576698