1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 00:27:43 +02:00

fix actix-tls build (#252)

This commit is contained in:
fakeshadow
2021-01-28 02:31:57 -08:00
committed by GitHub
parent a633d2353c
commit feac376c17
3 changed files with 4 additions and 18 deletions

View File

@ -172,17 +172,3 @@ fn attack_to_tokio() {
assert_eq!(res, 2);
}
#[tokio::test]
async fn attack_to_tokio_macro() {
use actix_rt::System;
let rest_operations = run_application();
let res = System::attach_to_tokio(
"actix-main-system",
tokio::runtime::Runtime::handle(&self),
rest_operations,
);
assert_eq!(res, 2);
}