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

Unified Diff: tests/lib/async/schedule_microtask3_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/lib/async/schedule_microtask3_test.dart
diff --git a/tests/lib/async/schedule_microtask3_test.dart b/tests/lib/async/schedule_microtask3_test.dart
index f7cb0b83d76dbb872b4eb278022150ee45a8293a..339e4985e4b52f04ec1e8a10bda4744e47d74758 100644
--- a/tests/lib/async/schedule_microtask3_test.dart
+++ b/tests/lib/async/schedule_microtask3_test.dart
@@ -13,7 +13,9 @@ main() {
// Check that Timers don't run before the async callbacks.
bool timerCallbackExecuted = false;
- Timer.run(expectAsync(() { timerCallbackExecuted = true; }));
+ Timer.run(expectAsync(() {
+ timerCallbackExecuted = true;
+ }));
scheduleMicrotask(expectAsync(() {
Expect.isFalse(timerCallbackExecuted);
@@ -26,7 +28,7 @@ main() {
while (sw.elapsedMilliseconds < 5) {
sum++;
}
- if (sum == 0) throw "bad"; // Just to use the result.
+ if (sum == 0) throw "bad"; // Just to use the result.
scheduleMicrotask(expectAsync(() {
Expect.isFalse(timerCallbackExecuted);
}));

Powered by Google App Engine
This is Rietveld 408576698