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

Unified Diff: tests/lib_strong/async/stream_periodic4_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_strong/async/stream_periodic4_test.dart
diff --git a/tests/lib_strong/async/stream_periodic4_test.dart b/tests/lib_strong/async/stream_periodic4_test.dart
index fac4742c1a15fc5e623178ccd1ffe28db7f5c60a..25a87772f8ef236ee6333c2f7ab8670e19791e45 100644
--- a/tests/lib_strong/async/stream_periodic4_test.dart
+++ b/tests/lib_strong/async/stream_periodic4_test.dart
@@ -9,7 +9,7 @@ import "dart:async";
import 'package:unittest/unittest.dart';
void runTest(period, maxElapsed, pauseDuration) {
- Function done = expectAsync(() { });
+ Function done = expectAsync(() {});
Stopwatch watch = new Stopwatch()..start();
Stream stream = new Stream.periodic(period, (x) => x);
@@ -43,8 +43,7 @@ void runTest(period, maxElapsed, pauseDuration) {
main() {
test("stream-periodic4", () {
- runTest(const Duration(milliseconds: 2),
- const Duration(milliseconds: 8),
- const Duration(milliseconds: 10));
+ runTest(const Duration(milliseconds: 2), const Duration(milliseconds: 8),
+ const Duration(milliseconds: 10));
});
}

Powered by Google App Engine
This is Rietveld 408576698