mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-30 00:14:58 +02:00
Check format and tweak CI config (#1619)
This commit is contained in:
@ -851,7 +851,7 @@ async fn test_slow_request() {
|
||||
use std::net;
|
||||
|
||||
let srv = test::start_with(test::config().client_timeout(200), || {
|
||||
App::new().service(web::resource("/").route(web::to(|| HttpResponse::Ok())))
|
||||
App::new().service(web::resource("/").route(web::to(HttpResponse::Ok)))
|
||||
});
|
||||
|
||||
let mut stream = net::TcpStream::connect(srv.addr()).unwrap();
|
||||
|
Reference in New Issue
Block a user