From 60bd816ed78910de59cd58feb862c108b7cb759b Mon Sep 17 00:00:00 2001 From: Pieter Frenssen Date: Sun, 29 Sep 2019 18:03:03 +0300 Subject: [PATCH] Fix tests for the template_yarte example. --- template_yarte/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/template_yarte/src/main.rs b/template_yarte/src/main.rs index 6a7faa0c..ee4af804 100644 --- a/template_yarte/src/main.rs +++ b/template_yarte/src/main.rs @@ -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);