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

Unified Diff: tests/language/syncstar_yield_test.dart

Issue 2770063002: Revert "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/sync_generator3_test.dart ('k') | tests/language/syntax_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/syncstar_yield_test.dart
diff --git a/tests/language/syncstar_yield_test.dart b/tests/language/syncstar_yield_test.dart
index 5121cad8709e17a783d37a0ae1cf68aae60b51f3..c134c7176883b88c814b5c4d6b826c6d3460faf3 100644
--- a/tests/language/syncstar_yield_test.dart
+++ b/tests/language/syncstar_yield_test.dart
@@ -12,8 +12,7 @@ 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;
@@ -37,8 +36,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/sync_generator3_test.dart ('k') | tests/language/syntax_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698