diff options
author | Skyler Hawthorne | 2022-04-26 00:25:16 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-06-19 03:54:03 +0000 |
commit | 1533f489340fb63eee31c12122d6233cb5f6abaf (patch) | |
tree | 2b31c8ce7295ae45de55663a5fccbe551f9494a8 /helix-term/tests/integration/commands.rs | |
parent | 2fbf83363028179fe8d3908b5d9911d8595163b1 (diff) |
use Results in integration tests for more error context
Diffstat (limited to 'helix-term/tests/integration/commands.rs')
-rw-r--r-- | helix-term/tests/integration/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/tests/integration/commands.rs b/helix-term/tests/integration/commands.rs index 4ab87b9b..0d2e14fd 100644 --- a/helix-term/tests/integration/commands.rs +++ b/helix-term/tests/integration/commands.rs @@ -59,7 +59,7 @@ async fn test_buffer_close() -> anyhow::Result<()> { .await?; // verify if writes are queued up, it finishes them before closing the buffer - let mut file = tempfile::NamedTempFile::new().unwrap(); + let mut file = tempfile::NamedTempFile::new()?; let mut command = String::new(); const RANGE: RangeInclusive<i32> = 1..=10; |