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/pipe.rs | |
parent | b2733e64d900ac237211360848326f3c4caa23f5 (diff) | |
download | pty-process-84f04ac0819e80c829db25f558b66843424f8c48.tar.gz pty-process-84f04ac0819e80c829db25f558b66843424f8c48.zip |
use tokio::test
Diffstat (limited to 'tests/pipe.rs')
-rw-r--r-- | tests/pipe.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pipe.rs b/tests/pipe.rs index cbe42ad..c3d7b9f 100644 --- a/tests/pipe.rs +++ b/tests/pipe.rs @@ -60,8 +60,7 @@ fn test_pipe_blocking() { } #[cfg(feature = "async")] -#[tokio::main] -#[test] +#[tokio::test] async fn test_pipe_async() { use std::os::unix::io::FromRawFd as _; use tokio::io::AsyncReadExt as _; |