1
0
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:
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)
})
});
});