Index: tests/lib_strong/async/catch_errors4_test.dart |
diff --git a/tests/lib_strong/async/catch_errors4_test.dart b/tests/lib_strong/async/catch_errors4_test.dart |
index 4508ba8998709702238f9e2ce8b3a8502eb0bec4..c25d60e1a9d9410ebe224c2326bc2f943c064ba2 100644 |
--- a/tests/lib_strong/async/catch_errors4_test.dart |
+++ b/tests/lib_strong/async/catch_errors4_test.dart |
@@ -17,17 +17,18 @@ main() { |
events.add("catch error entry"); |
throw "catch error"; |
}).listen((x) { |
- events.add(x); |
- done.complete(true); |
- }, |
- onDone: () { Expect.fail("Unexpected callback"); }); |
+ events.add(x); |
+ done.complete(true); |
+ }, onDone: () { |
+ Expect.fail("Unexpected callback"); |
+ }); |
done.future.whenComplete(() { |
- Expect.listEquals(["catch error entry", |
- "main exit", |
- "catch error", |
- ], |
- events); |
+ Expect.listEquals([ |
+ "catch error entry", |
+ "main exit", |
+ "catch error", |
+ ], events); |
asyncEnd(); |
}); |
events.add("main exit"); |