aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/gotham.rs
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/gotham.rs')
-rw-r--r--testing/tests/gotham.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/testing/tests/gotham.rs b/testing/tests/gotham.rs
index f127d59..225a0ef 100644
--- a/testing/tests/gotham.rs
+++ b/testing/tests/gotham.rs
@@ -31,7 +31,10 @@ fn test_gotham() {
let content_type = headers
.get("content-type")
.expect("Response did not contain content-type header");
- assert_eq!(content_type.to_str().unwrap(), mime::TEXT_HTML.to_string());
+ assert_eq!(
+ content_type.to_str().unwrap(),
+ mime::TEXT_HTML_UTF_8.to_string()
+ );
}
let body = res.read_utf8_body().expect("failed to read response body");