Index: tests/lib/async/stack_trace06_test.dart |
diff --git a/tests/lib/async/stack_trace06_test.dart b/tests/lib/async/stack_trace06_test.dart |
index b00ec3e9a46fb0e9fbccb7d43b6a4c0e78e91702..c6246c15530f90dcad64e0e9cdd78dc7d90cd092 100644 |
--- a/tests/lib/async/stack_trace06_test.dart |
+++ b/tests/lib/async/stack_trace06_test.dart |
@@ -18,13 +18,12 @@ main() { |
Completer completer = new Completer(); |
StackTrace trace = captureStackTrace(); |
asyncStart(); |
- completer.future |
- .whenComplete(() => 499) |
- .then((_) { throw "should never be reached"; }) |
- .catchError((e, st) { |
- Expect.equals("c-error", e); |
- Expect.identical(trace, st); |
- asyncEnd(); |
- }); |
+ completer.future.whenComplete(() => 499).then((_) { |
+ throw "should never be reached"; |
+ }).catchError((e, st) { |
+ Expect.equals("c-error", e); |
+ Expect.identical(trace, st); |
+ asyncEnd(); |
+ }); |
completer.completeError("c-error", trace); |
} |