diff options
author | Skyler Hawthorne | 2022-03-31 14:58:50 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-06-19 03:57:47 +0000 |
commit | 41bf1d581137855596e00ad7702e8827325714b0 (patch) | |
tree | fdfdc478839108705bb4cb34075e68925ed83e71 /helix-term/tests | |
parent | fac36bc5eab804e823ddef01e50d1e36495c7967 (diff) |
fix(command): write-quit: do not quit if write fails
During write-quit, if the file fails to be written for any reason, helix
will still quit without saving the changes. This fixes this behavior by
introducing fallibility to the asynchronous job queues. This will also
benefit all contexts which may depend on these job queues.
Fixes #1575
Diffstat (limited to 'helix-term/tests')
-rw-r--r-- | helix-term/tests/test/commands.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs index 27b4da58..01f13c5c 100644 --- a/helix-term/tests/test/commands.rs +++ b/helix-term/tests/test/commands.rs @@ -9,7 +9,6 @@ use helix_term::application::Application; use super::*; #[tokio::test] -#[ignore] async fn test_write_quit_fail() -> anyhow::Result<()> { let file = helpers::new_readonly_tempfile()?; |