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

Unified Diff: tests/lib/async/catch_errors19_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/catch_errors19_test.dart
diff --git a/tests/lib/async/catch_errors19_test.dart b/tests/lib/async/catch_errors19_test.dart
index 8741fe7a97c1b329d75be7c18d4095261ed6321c..f5b37a1b2b93e39526cc351caeed3a558d3e3075 100644
--- a/tests/lib/async/catch_errors19_test.dart
+++ b/tests/lib/async/catch_errors19_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 asynchronous callbacks in the done-handler of streams (here
// the `catchErrors`-stream) keep a zone alive.
catchErrors(() {
@@ -26,8 +26,11 @@ main() {
done.complete(true);
});
});
- }).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