mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
Merge pull request #180 from pfrenssen/template_yarte-test-failure
Several tests are failing
This commit is contained in:
commit
ea35dcbc74
@ -2,6 +2,9 @@ language: rust
|
||||
sudo: false
|
||||
dist: trusty
|
||||
|
||||
services:
|
||||
- redis-server
|
||||
|
||||
cache:
|
||||
apt: true
|
||||
directories:
|
||||
@ -39,6 +42,7 @@ before_script:
|
||||
|
||||
script:
|
||||
- cargo check --all
|
||||
- cargo test --all --no-fail-fast
|
||||
- |
|
||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly" ]]; then
|
||||
cargo clippy
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user