aboutsummaryrefslogtreecommitdiffstats
path: root/tests/winch.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2022-03-11 21:02:24 -0500
committerJesse Luehrs <doy@tozt.net>2022-03-11 21:02:24 -0500
commit84f04ac0819e80c829db25f558b66843424f8c48 (patch)
tree87aa794ab670893dd618e68144c598e960fd7e5a /tests/winch.rs
parentb2733e64d900ac237211360848326f3c4caa23f5 (diff)
downloadpty-process-84f04ac0819e80c829db25f558b66843424f8c48.tar.gz
pty-process-84f04ac0819e80c829db25f558b66843424f8c48.zip
use tokio::test
Diffstat (limited to 'tests/winch.rs')
-rw-r--r--tests/winch.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/winch.rs b/tests/winch.rs
index 63455e9..ae3c1a4 100644
--- a/tests/winch.rs
+++ b/tests/winch.rs
@@ -27,8 +27,7 @@ fn test_winch_std() {
}
#[cfg(feature = "async")]
-#[tokio::main]
-#[test]
+#[tokio::test]
async fn test_winch_async() {
use futures::stream::StreamExt as _;
use tokio::io::AsyncWriteExt as _;