aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/test/commands.rs
diff options
context:
space:
mode:
authorSkyler Hawthorne2022-10-21 04:28:29 +0000
committerGitHub2022-10-21 04:28:29 +0000
commitf486f34ebe0e21f0e109e24037e73182b2cf510a (patch)
tree4aaf5b05d037b05a9a0b3be6eb7d6634eec98d12 /helix-term/tests/test/commands.rs
parent74a6a2282e79190baa59cd52907e014b31331819 (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/test/commands.rs')
-rw-r--r--helix-term/tests/test/commands.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs
index 5238cc69..e24ee3e0 100644
--- a/helix-term/tests/test/commands.rs
+++ b/helix-term/tests/test/commands.rs
@@ -94,7 +94,7 @@ async fn test_buffer_close_concurrent() -> anyhow::Result<()> {
Ok(())
}
-#[tokio::test]
+#[tokio::test(flavor = "multi_thread")]
async fn test_selection_duplication() -> anyhow::Result<()> {
// Forward
test((