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

Unified Diff: tests/lib/async/schedule_microtask5_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_microtask5_test.dart
diff --git a/tests/lib/async/schedule_microtask5_test.dart b/tests/lib/async/schedule_microtask5_test.dart
index 09a093488c3466ef1098d8ee8dd5caf44f0daa1d..70c362cd598384dd3016a3ab8d679c61502fb957 100644
--- a/tests/lib/async/schedule_microtask5_test.dart
+++ b/tests/lib/async/schedule_microtask5_test.dart
@@ -17,7 +17,9 @@ main() {
Expect.isFalse(timerCallbackExecuted);
}));
- Timer.run(expectAsync(() { timerCallbackExecuted = true; }));
+ Timer.run(expectAsync(() {
+ timerCallbackExecuted = true;
+ }));
scheduleMicrotask(expectAsync(() {
Expect.isFalse(timerCallbackExecuted);
@@ -30,7 +32,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