Index: tests/lib_strong/async/stack_trace05_test.dart |
diff --git a/tests/lib_strong/async/stack_trace05_test.dart b/tests/lib_strong/async/stack_trace05_test.dart |
index 176fc14a331fe60df641f50e97ddda80ccb36b5f..d1528c62aa0fea9e969c66a95417780b873dfc15 100644 |
--- a/tests/lib_strong/async/stack_trace05_test.dart |
+++ b/tests/lib_strong/async/stack_trace05_test.dart |
@@ -18,12 +18,11 @@ main() { |
StackTrace trace = captureStackTrace(); |
asyncStart(); |
var f = new Future(() => 499); |
- f.then((_) => new Future.error("e", trace)) |
- .whenComplete(() => 499) |
- .then((_) { throw "should never be reached"; }) |
- .catchError((e, st) { |
- Expect.equals("e", e); |
- Expect.identical(trace, st); |
- asyncEnd(); |
- }); |
+ f.then((_) => new Future.error("e", trace)).whenComplete(() => 499).then((_) { |
+ throw "should never be reached"; |
+ }).catchError((e, st) { |
+ Expect.equals("e", e); |
+ Expect.identical(trace, st); |
+ asyncEnd(); |
+ }); |
} |