From 84f04ac0819e80c829db25f558b66843424f8c48 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 11 Mar 2022 21:02:24 -0500 Subject: use tokio::test --- tests/winch.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/winch.rs') 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 _; -- cgit v1.2.3-54-g00ecf