Index: tests/standalone/io/async_catch_errors_test.dart |
diff --git a/tests/standalone/io/async_catch_errors_test.dart b/tests/standalone/io/async_catch_errors_test.dart |
index 4ebccb63d70c5c29d93ade34f1036a5a798b0c39..431057b391476e83a0f87160f785417e11da422a 100644 |
--- a/tests/standalone/io/async_catch_errors_test.dart |
+++ b/tests/standalone/io/async_catch_errors_test.dart |
@@ -40,11 +40,8 @@ main() { |
// We keep a ReceivePort open until all tests are done. This way the VM will |
// hang if the callbacks are not invoked and the test will time out. |
asyncStart(); |
- testSocketException() |
- .then((_) => testFileSystemException()) |
- .then((_) { |
- asyncEnd(); |
- Expect.listEquals(["SocketException", "FileSystemException"], |
- events); |
- }); |
+ testSocketException().then((_) => testFileSystemException()).then((_) { |
+ asyncEnd(); |
+ Expect.listEquals(["SocketException", "FileSystemException"], events); |
+ }); |
} |