1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 14:49:20 +02:00

use new new service api

This commit is contained in:
Nikolay Kim
2019-02-22 14:21:35 -08:00
parent 2f89b12f4f
commit b80ee71785
7 changed files with 30 additions and 18 deletions

View File

@ -514,7 +514,6 @@ fn test_body_chunked_implicit() {
let body = once::<_, Error>(Ok(Bytes::from_static(STR.as_ref())));
ok::<_, ()>(Response::Ok().streaming(body))
})
.map(|_| ())
});
let req = srv.get().finish().unwrap();
@ -537,7 +536,6 @@ fn test_response_http_error_handling() {
.body(STR),
)
})
.map(|_| ())
});
let req = srv.get().finish().unwrap();