diff --git a/src/test.rs b/src/test.rs index 5347a8ea6..5da100b81 100644 --- a/src/test.rs +++ b/src/test.rs @@ -1277,11 +1277,10 @@ mod tests { async fn actor_handler( addr: Data>, ) -> Result { - // `?` operator tests "actors" feature flag on actix-http let res = addr .send(Num(1)) .await - .map_err(|e| crate::error::ErrorInternalServerError(e))?; + .map_err(crate::error::ErrorInternalServerError)?; if res == 1 { Ok(HttpResponse::Ok())