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/write.rs | |
parent | 40120967e9ba48d2e8b5fb4976a6ca1ce8993704 (diff) |
use idle timer instead of fixed timeout
Diffstat (limited to 'helix-term/tests/integration/write.rs')
-rw-r--r-- | helix-term/tests/integration/write.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/helix-term/tests/integration/write.rs b/helix-term/tests/integration/write.rs index 365e6b8d..0cc41dbc 100644 --- a/helix-term/tests/integration/write.rs +++ b/helix-term/tests/integration/write.rs @@ -1,7 +1,6 @@ use std::{ io::{Read, Write}, ops::RangeInclusive, - time::Duration, }; use helix_core::diagnostic::Severity; @@ -24,7 +23,6 @@ async fn test_write() -> anyhow::Result<()> { )?, Some("ii can eat glass, it will not hurt me<ret><esc>:w<ret>"), None, - Some(Duration::from_millis(1000)), ) .await?; @@ -59,7 +57,6 @@ async fn test_write_concurrent() -> anyhow::Result<()> { )?, Some(&command), None, - Some(Duration::from_millis(10000)), ) .await?; @@ -108,7 +105,6 @@ async fn test_write_fail_mod_flag() -> anyhow::Result<()> { }), ), ], - None, ) .await?; @@ -138,7 +134,6 @@ async fn test_write_fail_new_path() -> anyhow::Result<()> { }), ), ], - Some(Duration::from_millis(1000)), ) .await?; |