aboutsummaryrefslogtreecommitdiff
path: root/helix-term/tests/test/auto_indent.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/auto_indent.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/auto_indent.rs')
-rw-r--r--helix-term/tests/test/auto_indent.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/tests/test/auto_indent.rs b/helix-term/tests/test/auto_indent.rs
index 5c093a5d..d5c220b7 100644
--- a/helix-term/tests/test/auto_indent.rs
+++ b/helix-term/tests/test/auto_indent.rs
@@ -1,6 +1,6 @@
use super::*;
-#[tokio::test]
+#[tokio::test(flavor = "multi_thread")]
async fn auto_indent_c() -> anyhow::Result<()> {
test_with_config(
Args {