diff options
author | Skyler Hawthorne | 2022-04-24 01:49:31 +0000 |
---|---|---|
committer | Skyler Hawthorne | 2022-06-19 03:54:03 +0000 |
commit | 2386c81ebc118860107094591b76ef3864e120a8 (patch) | |
tree | eac56099ade96e0722ac13d92197f27db14c65b9 /helix-term/tests/integration/commands.rs | |
parent | 40120967e9ba48d2e8b5fb4976a6ca1ce8993704 (diff) |
use idle timer instead of fixed timeout
Diffstat (limited to 'helix-term/tests/integration/commands.rs')
-rw-r--r-- | helix-term/tests/integration/commands.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/helix-term/tests/integration/commands.rs b/helix-term/tests/integration/commands.rs index 7da180b9..4ab87b9b 100644 --- a/helix-term/tests/integration/commands.rs +++ b/helix-term/tests/integration/commands.rs @@ -1,7 +1,6 @@ use std::{ io::{Read, Write}, ops::RangeInclusive, - time::Duration, }; use helix_core::diagnostic::Severity; @@ -23,7 +22,6 @@ async fn test_write_quit_fail() -> anyhow::Result<()> { Some(&|app| { assert_eq!(&Severity::Error, app.editor.get_status().unwrap().1); }), - None, ) .await?; @@ -57,7 +55,6 @@ async fn test_buffer_close() -> anyhow::Result<()> { }), ), ], - None, ) .await?; @@ -88,7 +85,6 @@ async fn test_buffer_close() -> anyhow::Result<()> { let doc = app.editor.document_by_path(file.path()); assert!(doc.is_none(), "found doc: {:?}", doc); }), - Some(Duration::from_millis(5000)), ) .await?; |