Index: tests/lib_strong/async/catch_errors8_test.dart |
diff --git a/tests/lib_strong/async/catch_errors8_test.dart b/tests/lib_strong/async/catch_errors8_test.dart |
index 3390046c39a1302abcb90c4925d751b33cc18af2..459208b8d7c4dea7f8ec052d71cf993982bde14f 100644 |
--- a/tests/lib_strong/async/catch_errors8_test.dart |
+++ b/tests/lib_strong/async/catch_errors8_test.dart |
@@ -36,27 +36,28 @@ main() { |
events.add("after inner"); |
throw "inner throw"; |
}).listen((x) { |
- events.add(x); |
- if (x == "inner done throw") { |
- done.complete(true); |
- } |
- }, |
- onDone: () { Expect.fail("Unexpected callback"); }); |
+ events.add(x); |
+ if (x == "inner done throw") { |
+ done.complete(true); |
+ } |
+ }, onDone: () { |
+ Expect.fail("Unexpected callback"); |
+ }); |
done.future.whenComplete(() { |
- Expect.listEquals(["catch error entry", |
- "catch error entry2", |
- "after inner", |
- "main exit", |
- "catch error", |
- "inner throw", |
- "future error", |
- "future error2", |
- 499, |
- "delayed error", |
- "inner done throw" |
- ], |
- events); |
+ Expect.listEquals([ |
+ "catch error entry", |
+ "catch error entry2", |
+ "after inner", |
+ "main exit", |
+ "catch error", |
+ "inner throw", |
+ "future error", |
+ "future error2", |
+ 499, |
+ "delayed error", |
+ "inner done throw" |
+ ], events); |
asyncEnd(); |
}); |
events.add("main exit"); |