Fix multilingual tests

This commit is contained in:
Vincent Prouillet 2019-01-25 16:18:48 +01:00
parent 702b931079
commit 7c260eb5b2

View file

@ -87,7 +87,7 @@ fn can_build_multilingual_site() {
assert!(file_contains!( assert!(file_contains!(
public, public,
"fr/blog/index.html", "fr/blog/index.html",
"Translated in : My blog https://example.com/blog/" "Translated in en: My blog https://example.com/blog/"
)); ));
assert!(file_contains!( assert!(file_contains!(
public, public,
@ -107,7 +107,7 @@ fn can_build_multilingual_site() {
assert!(file_contains!( assert!(file_contains!(
public, public,
"fr/blog/something/index.html", "fr/blog/something/index.html",
"Translated in : Something https://example.com/blog/something/" "Translated in en: Something https://example.com/blog/something/"
)); ));
// sitemap contains all languages // sitemap contains all languages