mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
commit
4875dfbec7
@ -187,7 +187,7 @@ where
|
||||
/// .to_request();
|
||||
///
|
||||
/// let resp = test::call_service(&mut app, req).await;
|
||||
/// let result = test::read_body(resp);
|
||||
/// let result = test::read_body(resp).await;
|
||||
/// assert_eq!(result, Bytes::from_static(b"welcome!"));
|
||||
/// }
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user