aboutsummaryrefslogtreecommitdiffstats
path: root/tests/winch.rs
diff options
context:
space:
mode:
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 _;