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

Unified Diff: tests/language_strong/syncstar_yield_test.dart

Issue 2768073002: Format all multitests (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_strong/syncstar_yield_test.dart
diff --git a/tests/language_strong/syncstar_yield_test.dart b/tests/language_strong/syncstar_yield_test.dart
index 7122a8fb7d5b884cd86e28f0ad4804c959c44bfd..f8417fe402052ef3ccd9c410e5dfaa2b007f1d28 100644
--- a/tests/language_strong/syncstar_yield_test.dart
+++ b/tests/language_strong/syncstar_yield_test.dart
@@ -14,7 +14,8 @@ Iterable<int> foo2(p) sync* {
bool t = false;
yield null;
while (true) {
- a: for (int i = 0; i < p; i++) {
+ a:
+ for (int i = 0; i < p; i++) {
if (!t) {
for (int j = 0; j < 3; j++) {
yield -1;
@@ -38,8 +39,8 @@ Iterable<int> foo3(int p) sync* {
main() {
Expect.listEquals([1], foo1().toList());
- Expect.listEquals([null, -1, 0, 1, 2, 3, 0, 1, 2, 3],
- foo2(4).take(10).toList());
+ Expect.listEquals(
+ [null, -1, 0, 1, 2, 3, 0, 1, 2, 3], foo2(4).take(10).toList());
Iterable t = foo3(0);
Iterator it1 = t.iterator;
Iterator it2 = t.iterator; //# copyParameters: ok

Powered by Google App Engine
This is Rietveld 408576698