Index: tests/lib_strong/async/stack_trace13_test.dart |
diff --git a/tests/lib_strong/async/stack_trace13_test.dart b/tests/lib_strong/async/stack_trace13_test.dart |
index 0b12808dd4af08685b89c3aee1603e97ee9baecd..8855bee27a29566f9af37c4d24823736b0f2c0b9 100644 |
--- a/tests/lib_strong/async/stack_trace13_test.dart |
+++ b/tests/lib_strong/async/stack_trace13_test.dart |
@@ -9,12 +9,14 @@ import 'dart:async'; |
main() { |
StackTrace trace; |
asyncStart(); |
- var f = new Future(() { throw "foo"; }); |
- f.then((_) => 499) |
- .then((_) { throw "Unreachable"; }, |
- onError: (e, st) { |
- Expect.equals("foo", e); |
- Expect.isNotNull(st); |
- asyncEnd(); |
- }); |
+ var f = new Future(() { |
+ throw "foo"; |
+ }); |
+ f.then((_) => 499).then((_) { |
+ throw "Unreachable"; |
+ }, onError: (e, st) { |
+ Expect.equals("foo", e); |
+ Expect.isNotNull(st); |
+ asyncEnd(); |
+ }); |
} |