Index: tests/lib/async/stack_trace17_test.dart |
diff --git a/tests/lib/async/stack_trace17_test.dart b/tests/lib/async/stack_trace17_test.dart |
index b658a665b8545409061c65b032aff042111924a9..b7f33c544e9f3d4bcc0e9bb79275c6d11b7986b3 100644 |
--- a/tests/lib/async/stack_trace17_test.dart |
+++ b/tests/lib/async/stack_trace17_test.dart |
@@ -18,14 +18,14 @@ main() { |
Completer completer = new Completer(); |
StackTrace trace = captureStackTrace(); |
asyncStart(); |
- completer.future |
- .whenComplete(() => 499) |
- .then((_) { throw "bad things happen"; }) |
- .then((_) { throw "Unreachable"; }, |
- onError: (e, st) { |
- Expect.equals("bad things happen", e); |
- Expect.isNotNull(st); |
- asyncEnd(); |
- }); |
+ completer.future.whenComplete(() => 499).then((_) { |
+ throw "bad things happen"; |
+ }).then((_) { |
+ throw "Unreachable"; |
+ }, onError: (e, st) { |
+ Expect.equals("bad things happen", e); |
+ Expect.isNotNull(st); |
+ asyncEnd(); |
+ }); |
completer.complete(499); |
} |