Index: tests/lib/async/stack_trace15_test.dart |
diff --git a/tests/lib/async/stack_trace15_test.dart b/tests/lib/async/stack_trace15_test.dart |
index 4f580768e8a0ec7f2f434ce3496b8e3a979e1d59..e52b4eb4a8fed7a873ec3cd48d8e82919ceb2190 100644 |
--- a/tests/lib/async/stack_trace15_test.dart |
+++ b/tests/lib/async/stack_trace15_test.dart |
@@ -18,13 +18,13 @@ 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"; }) |
- .then((_) { throw "Unreachable"; }, |
- onError: (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"; |
+ }).then((_) { |
+ throw "Unreachable"; |
+ }, onError: (e, st) { |
+ Expect.equals("e", e); |
+ Expect.identical(trace, st); |
+ asyncEnd(); |
+ }); |
} |