diff --git a/src/test.rs b/src/test.rs index 7a909fbd7..dc17e922f 100644 --- a/src/test.rs +++ b/src/test.rs @@ -249,7 +249,7 @@ where /// .header(header::CONTENT_TYPE, "application/json") /// .to_request(); /// -/// let resp = call_service(&mut srv, req); +/// let resp = test::call_service(&mut app, req); /// let result = test::read_body(resp); /// assert_eq!(result, Bytes::from_static(b"welcome!")); /// }