1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-12-24 09:00:34 +00:00

fix form_extractor test

This commit is contained in:
Dursun Akkurt 2018-06-12 23:04:54 +03:00
parent e6bbda0efc
commit ed7cbaa772

View file

@ -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)
})
});
});