Index: tests/lib/async/stack_trace24_test.dart |
diff --git a/tests/lib/async/stack_trace24_test.dart b/tests/lib/async/stack_trace24_test.dart |
index 929b42d561cc8cf461c8270e749af1ca55246151..81fa3d2e26437300bea93669e5a8ef987dc638e2 100644 |
--- a/tests/lib/async/stack_trace24_test.dart |
+++ b/tests/lib/async/stack_trace24_test.dart |
@@ -13,14 +13,14 @@ main() { |
controller.close(); |
}); |
asyncStart(); |
- controller.stream |
- .map((e) { throw "error"; }) |
- .listen((_) { throw "should never be reached"; }, |
- onError: (e, st) { |
- Expect.equals("error", e); |
- Expect.isNotNull(st); |
- }, |
- onDone: () { |
- asyncEnd(); |
- }); |
+ controller.stream.map((e) { |
+ throw "error"; |
+ }).listen((_) { |
+ throw "should never be reached"; |
+ }, onError: (e, st) { |
+ Expect.equals("error", e); |
+ Expect.isNotNull(st); |
+ }, onDone: () { |
+ asyncEnd(); |
+ }); |
} |