| Index: tests/lib/async/stack_trace23_test.dart
|
| diff --git a/tests/lib/async/stack_trace23_test.dart b/tests/lib/async/stack_trace23_test.dart
|
| index 1cde7830c647c8ffc893c35522b54f5bbb53f30c..2ee308a3fd08f02674f969ffd75f2449bdeb0582 100644
|
| --- a/tests/lib/async/stack_trace23_test.dart
|
| +++ b/tests/lib/async/stack_trace23_test.dart
|
| @@ -18,12 +18,13 @@ main() {
|
| StackTrace trace = captureStackTrace();
|
| asyncStart();
|
| var f = new Future.error(499, trace);
|
| - f.catchError((e) { throw "unreachable"; }, test: (e) {
|
| - Expect.equals(499, e);
|
| - return false;
|
| - })
|
| - .catchError((e, st) {
|
| - Expect.identical(trace, st);
|
| - asyncEnd();
|
| - }, test: (e) => e == 499);
|
| + f.catchError((e) {
|
| + throw "unreachable";
|
| + }, test: (e) {
|
| + Expect.equals(499, e);
|
| + return false;
|
| + }).catchError((e, st) {
|
| + Expect.identical(trace, st);
|
| + asyncEnd();
|
| + }, test: (e) => e == 499);
|
| }
|
|
|