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