From b935dc62733a2bcd4a87190db4f9d49eaebe6a08 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Wed, 27 May 2020 22:05:56 +0200 Subject: [PATCH] Fix tests --- components/site/tests/site.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/site/tests/site.rs b/components/site/tests/site.rs index 5dbc7115..773f0f36 100644 --- a/components/site/tests/site.rs +++ b/components/site/tests/site.rs @@ -370,7 +370,7 @@ fn can_build_site_with_pagination_for_section() { assert!(file_contains!( public, "posts/page/1/index.html", - "http-equiv=\"refresh\" content=\"0;url=https://replace-this-with-your-url.com/posts/\"" + "http-equiv=\"refresh\" content=\"0; url=https://replace-this-with-your-url.com/posts/\"" )); assert!(file_contains!(public, "posts/index.html", "Num pagers: 5")); assert!(file_contains!(public, "posts/index.html", "Page size: 2")); @@ -484,7 +484,7 @@ fn can_build_site_with_pagination_for_index() { assert!(file_contains!( public, "page/1/index.html", - "http-equiv=\"refresh\" content=\"0;url=https://replace-this-with-your-url.com/\"" + "http-equiv=\"refresh\" content=\"0; url=https://replace-this-with-your-url.com/\"" )); assert!(file_contains!(public, "page/1/index.html", "Redirect")); assert!(file_contains!( @@ -561,7 +561,7 @@ fn can_build_site_with_pagination_for_taxonomy() { assert!(file_contains!( public, "tags/a/page/1/index.html", - "http-equiv=\"refresh\" content=\"0;url=https://replace-this-with-your-url.com/tags/a/\"" + "http-equiv=\"refresh\" content=\"0; url=https://replace-this-with-your-url.com/tags/a/\"" )); assert!(file_contains!(public, "tags/a/index.html", "Num pagers: 6")); assert!(file_contains!(public, "tags/a/index.html", "Page size: 2"));