diff options
author | Skyler Hawthorne | 2022-10-21 04:28:29 +0000 |
---|---|---|
committer | GitHub | 2022-10-21 04:28:29 +0000 |
commit | f486f34ebe0e21f0e109e24037e73182b2cf510a (patch) | |
tree | 4aaf5b05d037b05a9a0b3be6eb7d6634eec98d12 /helix-term/tests/integration.rs | |
parent | 74a6a2282e79190baa59cd52907e014b31331819 (diff) |
flush writes on force quit (#4397)
When force quitting, we need to block on the pending writes to ensure
that write commands succeed before exiting, and also to avoid a crash
when all the views are gone before the auto format call returns from
the LS.
Diffstat (limited to 'helix-term/tests/integration.rs')
-rw-r--r-- | helix-term/tests/integration.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/tests/integration.rs b/helix-term/tests/integration.rs index e3754c43..a378af7a 100644 --- a/helix-term/tests/integration.rs +++ b/helix-term/tests/integration.rs @@ -11,7 +11,7 @@ mod test { use self::helpers::*; - #[tokio::test] + #[tokio::test(flavor = "multi_thread")] async fn hello_world() -> anyhow::Result<()> { test(("#[\n|]#", "ihello world<esc>", "hello world#[|\n]#")).await?; Ok(()) |