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

Unified Diff: tests/lib/async/timer_repeat_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/timer_repeat_test.dart
diff --git a/tests/lib/async/timer_repeat_test.dart b/tests/lib/async/timer_repeat_test.dart
index 1ed5139652f8213462268cead79ba64f9306cc95..c4261d3588ca3d045871f9f0d4ea042a449707af 100644
--- a/tests/lib/async/timer_repeat_test.dart
+++ b/tests/lib/async/timer_repeat_test.dart
@@ -28,7 +28,7 @@ void timeoutHandler(Timer timer) {
// each iteration doesn't work because the timeoutHandler runs
// concurrently with the periodic timer.
expect(stopwatch.elapsedMilliseconds + safetyMargin,
- greaterThanOrEqualTo(ITERATIONS * TIMEOUT.inMilliseconds));
+ greaterThanOrEqualTo(ITERATIONS * TIMEOUT.inMilliseconds));
timer.cancel();
}
}
@@ -37,7 +37,7 @@ main() {
test("timer_repeat", () {
iteration = 0;
stopwatch.start();
- timer = new Timer.periodic(TIMEOUT,
- expectAsync(timeoutHandler, count: ITERATIONS));
+ timer = new Timer.periodic(
+ TIMEOUT, expectAsync(timeoutHandler, count: ITERATIONS));
});
}

Powered by Google App Engine
This is Rietveld 408576698