1
0
mirror of https://github.com/actix/examples synced 2025-02-02 09:39:03 +01:00

Fix tests for the template_yarte example.

This commit is contained in:
Pieter Frenssen 2019-09-29 18:03:03 +03:00
parent 98cac8668c
commit 60bd816ed7

View File

@ -44,7 +44,7 @@ mod test {
assert_eq!(
resp.headers().get(http::header::CONTENT_TYPE).unwrap(),
"text/html"
"text/html; charset=utf-8"
);
let bytes = atest::read_body(resp);
@ -73,7 +73,7 @@ mod test {
assert_eq!(
resp.headers().get(http::header::CONTENT_TYPE).unwrap(),
"text/html"
"text/html; charset=utf-8"
);
let bytes = atest::read_body(resp);
@ -102,7 +102,7 @@ mod test {
assert_eq!(
resp.headers().get(http::header::CONTENT_TYPE).unwrap(),
"text/html"
"text/html; charset=utf-8"
);
let bytes = atest::read_body(resp);