1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-18 07:35:36 +00: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();
///
/// // 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);
/// }
/// ```