mirror of
https://github.com/actix/actix-web.git
synced 2025-04-26 11:24:43 +00:00
Merge branch 'master' of github.com:actix/actix-web
This commit is contained in:
commit
4e141d7f5d
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ where
|
||||||
/// .header(header::CONTENT_TYPE, "application/json")
|
/// .header(header::CONTENT_TYPE, "application/json")
|
||||||
/// .to_request();
|
/// .to_request();
|
||||||
///
|
///
|
||||||
/// let resp = call_service(&mut srv, req);
|
/// let resp = test::call_service(&mut app, req);
|
||||||
/// let result = test::read_body(resp);
|
/// let result = test::read_body(resp);
|
||||||
/// assert_eq!(result, Bytes::from_static(b"welcome!"));
|
/// assert_eq!(result, Bytes::from_static(b"welcome!"));
|
||||||
/// }
|
/// }
|
||||||
|
|
Loading…
Reference in a new issue