remove cfg attribute

This commit is contained in:
fakeshadow 2021-04-11 17:28:18 +08:00
parent a8a5c8b489
commit 9da557f61d
1 changed files with 0 additions and 3 deletions

View File

@ -437,7 +437,6 @@ async fn test_service_restart() {
let _ = h.join().unwrap();
}
#[cfg(unix)]
#[actix_rt::test]
async fn test_worker_restart() {
use actix_service::{Service, ServiceFactory};
@ -457,8 +456,6 @@ async fn test_worker_restart() {
fn new_service(&self, _: Self::Config) -> Self::Future {
let counter = self.0.fetch_add(1, Ordering::Relaxed);
println!("counter is {}", counter);
Box::pin(async move { Ok(TestService(counter)) })
}
}