mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-30 00:14:58 +02:00
Fix clippy warnings (#2217)
This commit is contained in:
@ -901,7 +901,7 @@ async fn test_normalize() {
|
||||
let srv = actix_test::start_with(actix_test::config().h1(), || {
|
||||
App::new()
|
||||
.wrap(NormalizePath::new(TrailingSlash::Trim))
|
||||
.service(web::resource("/one").route(web::to(|| HttpResponse::Ok())))
|
||||
.service(web::resource("/one").route(web::to(HttpResponse::Ok)))
|
||||
});
|
||||
|
||||
let response = srv.get("/one/").send().await.unwrap();
|
||||
|
Reference in New Issue
Block a user