mirror of
https://github.com/actix/actix-extras.git
synced 2025-01-23 07:14:35 +01:00
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…
x
Reference in New Issue
Block a user