Index: tests/lib_strong/async/stack_trace16_test.dart |
diff --git a/tests/lib_strong/async/stack_trace16_test.dart b/tests/lib_strong/async/stack_trace16_test.dart |
index 3a8470a338f04cd25cfda037a4cf26fcf349364b..a54a56e9f9d3186246bb7a6bcf4a0f74867af4c5 100644 |
--- a/tests/lib_strong/async/stack_trace16_test.dart |
+++ b/tests/lib_strong/async/stack_trace16_test.dart |
@@ -18,14 +18,14 @@ main() { |
Completer completer = new Completer(); |
StackTrace trace = captureStackTrace(); |
asyncStart(); |
- completer.future |
- .whenComplete(() => 499) |
- .then((_) { throw "should never be reached"; }) |
- .then((_) { throw "Unreachable"; }, |
- onError: (e, st) { |
- Expect.equals("c-error", e); |
- Expect.identical(trace, st); |
- asyncEnd(); |
- }); |
+ completer.future.whenComplete(() => 499).then((_) { |
+ throw "should never be reached"; |
+ }).then((_) { |
+ throw "Unreachable"; |
+ }, onError: (e, st) { |
+ Expect.equals("c-error", e); |
+ Expect.identical(trace, st); |
+ asyncEnd(); |
+ }); |
completer.completeError("c-error", trace); |
} |