mirror of
https://github.com/actix/actix-web.git
synced 2024-12-19 22:56:39 +00:00
fix form_extractor test
This commit is contained in:
parent
e6bbda0efc
commit
ed7cbaa772
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue