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

Unified Diff: tests/language/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/syncstar_yield_test.dart
diff --git a/tests/language/syncstar_yield_test.dart b/tests/language/syncstar_yield_test.dart
index c134c7176883b88c814b5c4d6b826c6d3460faf3..5121cad8709e17a783d37a0ae1cf68aae60b51f3 100644
--- a/tests/language/syncstar_yield_test.dart
+++ b/tests/language/syncstar_yield_test.dart
@@ -12,7 +12,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;
@@ -36,8 +37,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