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

Unified Diff: tests/language_strong/syncstar_yield_test.dart

Issue 2774783002: Re-land "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
« no previous file with comments | « tests/language_strong/sync_generator3_test.dart ('k') | tests/language_strong/syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests/language_strong/sync_generator3_test.dart ('k') | tests/language_strong/syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698