Index: tests/language/async_star_pause_test.dart |
diff --git a/tests/language/async_star_pause_test.dart b/tests/language/async_star_pause_test.dart |
index c21519d2bbc9af5facc24272cf6b4efc3785bdd0..d8cabd6a93b1b3fc9d0a834a6db87e9c57bcf485 100644 |
--- a/tests/language/async_star_pause_test.dart |
+++ b/tests/language/async_star_pause_test.dart |
@@ -24,9 +24,21 @@ main() { |
await nextMicrotask(); |
log.add("$i!"); |
} |
- expect(log, ["0-", "0?", "0!", "0+", |
- "1-", "1?", "1!", "1+", |
- "2-", "2?", "2!", "2+"]); |
+ expect(log, [ |
+ "0-", |
+ "0?", |
+ "0!", |
+ "0+", |
+ "1-", |
+ "1?", |
+ "1!", |
+ "1+", |
+ "2-", |
+ "2?", |
+ "2!", |
+ "2+" |
+ ]); |
}); |
} |
-Future nextMicrotask() => new Future.microtask((){}); |
+ |
+Future nextMicrotask() => new Future.microtask(() {}); |