Index: tests/lib_strong/async/stack_trace07_test.dart |
diff --git a/tests/lib_strong/async/stack_trace07_test.dart b/tests/lib_strong/async/stack_trace07_test.dart |
index 1fd31fba2c851ec5a3648ac9098ab6486e8807fc..dd989e8fd05d1496f7b057c3e29757c9f5c218d7 100644 |
--- a/tests/lib_strong/async/stack_trace07_test.dart |
+++ b/tests/lib_strong/async/stack_trace07_test.dart |
@@ -18,13 +18,12 @@ main() { |
Completer completer = new Completer(); |
StackTrace trace = captureStackTrace(); |
asyncStart(); |
- completer.future |
- .whenComplete(() => 499) |
- .then((_) { throw "bad things happen"; }) |
- .catchError((e, st) { |
- Expect.equals("bad things happen", e); |
- Expect.isNotNull(st); |
- asyncEnd(); |
- }); |
+ completer.future.whenComplete(() => 499).then((_) { |
+ throw "bad things happen"; |
+ }).catchError((e, st) { |
+ Expect.equals("bad things happen", e); |
+ Expect.isNotNull(st); |
+ asyncEnd(); |
+ }); |
completer.complete(499); |
} |