mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-23 16:21:06 +01:00
Fix typo (#3062)
This commit is contained in:
parent
0e8ed50e3a
commit
ce3af777a0
@ -146,7 +146,7 @@ mod tests {
|
||||
.finish();
|
||||
assert_eq!(req.content_type(), "text/plain");
|
||||
let req = TestRequest::default()
|
||||
.insert_header(("content-type", "application/json; charset=utf=8"))
|
||||
.insert_header(("content-type", "application/json; charset=utf-8"))
|
||||
.finish();
|
||||
assert_eq!(req.content_type(), "application/json");
|
||||
let req = TestRequest::default().finish();
|
||||
|
Loading…
Reference in New Issue
Block a user