| 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.
|
|
|