1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +01:00

updated legacy code in call_success example (#762)

This commit is contained in:
Darin 2019-04-08 14:20:46 -04:00 committed by Nikolay Kim
parent bc58dbb2f5
commit 9bcd5d6664

View File

@ -133,7 +133,7 @@ where
/// let req = test::TestRequest::with_uri("/test").to_request(); /// let req = test::TestRequest::with_uri("/test").to_request();
/// ///
/// // Call application /// // Call application
/// let resp = test::call_succ_service(&mut app, req); /// let resp = test::call_success(&mut app, req);
/// assert_eq!(resp.status(), StatusCode::OK); /// assert_eq!(resp.status(), StatusCode::OK);
/// } /// }
/// ``` /// ```