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

Unified Diff: tests/lib_strong/async/catch_errors18_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/catch_errors18_test.dart
diff --git a/tests/lib_strong/async/catch_errors18_test.dart b/tests/lib_strong/async/catch_errors18_test.dart
index a2751768145cf202846f617e04b077d84d413701..2e640137335d07e013432ba49c84ec986370c535 100644
--- a/tests/lib_strong/async/catch_errors18_test.dart
+++ b/tests/lib_strong/async/catch_errors18_test.dart
@@ -12,8 +12,8 @@ main() {
Completer done = new Completer();
var events = [];
- Stream stream = new Stream.periodic(const Duration(milliseconds: 20),
- (x) => x);
+ Stream stream =
+ new Stream.periodic(const Duration(milliseconds: 20), (x) => x);
// Test that errors of periodic streams are caught.
catchErrors(() {
var subscription;
@@ -26,8 +26,11 @@ main() {
}
events.add(x);
});
- }).listen((x) { events.add("outer: $x"); },
- onDone: () { Expect.fail("Unexpected callback"); });
+ }).listen((x) {
+ events.add("outer: $x");
+ }, onDone: () {
+ Expect.fail("Unexpected callback");
+ });
done.future.whenComplete(() {
// Give handlers time to run.

Powered by Google App Engine
This is Rietveld 408576698