Add unit test for server

This commit is contained in:
2022-09-23 04:29:05 +00:00
committed by GitHub
parent 2bd7bcef6f
commit 970a4ec731
10 changed files with 119 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ pub fn async_timeout_test(attr: TokenStream, item: TokenStream) -> TokenStream {
let f = async {
#(#stmts)*
};
tokio::time::timeout(dura, f).await.unwrap();
tokio::time::timeout(dura, f).await.unwrap()
}
};
stream.into()