Fix multilingual tests
This commit is contained in:
parent
702b931079
commit
7c260eb5b2
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue