mirror of https://github.com/fafhrd91/actix-web
fix form_extractor test
This commit is contained in:
parent
e6bbda0efc
commit
ed7cbaa772
|
@ -106,7 +106,7 @@ fn test_form_extractor() {
|
|||
let mut srv = test::TestServer::new(|app| {
|
||||
app.resource("/{username}/index.html", |r| {
|
||||
r.route().with(|form: Form<FormData>| {
|
||||
Ok(format!("{}", form.username))
|
||||
format!("{}", form.username)
|
||||
})
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue