diff options
author | Jesse Luehrs <doy@tozt.net> | 2022-03-11 21:02:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2022-03-11 21:02:24 -0500 |
commit | 84f04ac0819e80c829db25f558b66843424f8c48 (patch) | |
tree | 87aa794ab670893dd618e68144c598e960fd7e5a /tests/split.rs | |
parent | b2733e64d900ac237211360848326f3c4caa23f5 (diff) | |
download | pty-process-84f04ac0819e80c829db25f558b66843424f8c48.tar.gz pty-process-84f04ac0819e80c829db25f558b66843424f8c48.zip |
use tokio::test
Diffstat (limited to 'tests/split.rs')
-rw-r--r-- | tests/split.rs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/split.rs b/tests/split.rs index fc9b9d0..4799c13 100644 --- a/tests/split.rs +++ b/tests/split.rs @@ -1,8 +1,7 @@ mod helpers; #[cfg(feature = "async")] -#[tokio::main] -#[test] +#[tokio::test] async fn test_split() { use futures::stream::StreamExt as _; use tokio::io::AsyncWriteExt as _; @@ -42,8 +41,7 @@ async fn test_split() { } #[cfg(feature = "async")] -#[tokio::main] -#[test] +#[tokio::test] async fn test_into_split() { use tokio::io::{AsyncBufReadExt as _, AsyncWriteExt as _}; @@ -111,8 +109,7 @@ async fn test_into_split() { } #[cfg(feature = "async")] -#[tokio::main] -#[test] +#[tokio::test] async fn test_into_split_error() { let pty1 = pty_process::Pty::new().unwrap(); let pty2 = pty_process::Pty::new().unwrap(); |