From 7c260eb5b20a710b667ef2e706ebec365c59132d Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Fri, 25 Jan 2019 16:18:48 +0100 Subject: [PATCH] Fix multilingual tests --- components/site/tests/site_i18n.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/site/tests/site_i18n.rs b/components/site/tests/site_i18n.rs index 9023a730..ad85bdcb 100644 --- a/components/site/tests/site_i18n.rs +++ b/components/site/tests/site_i18n.rs @@ -87,7 +87,7 @@ fn can_build_multilingual_site() { assert!(file_contains!( public, "fr/blog/index.html", - "Translated in : My blog https://example.com/blog/" + "Translated in en: My blog https://example.com/blog/" )); assert!(file_contains!( public, @@ -107,7 +107,7 @@ fn can_build_multilingual_site() { assert!(file_contains!( public, "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