Browse Source

Fix multilingual tests

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
7c260eb5b2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      components/site/tests/site_i18n.rs

+ 2
- 2
components/site/tests/site_i18n.rs 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


Loading…
Cancel
Save