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

Unified Diff: tests/language/async_star_pause_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/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(() {});

Powered by Google App Engine
This is Rietveld 408576698