From 7b3e945a27f330365386dc865df238eb93ababf9 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Sat, 30 May 2020 04:11:11 +0800 Subject: [PATCH] Updated the test to reflect how redirect keys should be absolute --- tests/rendered_output.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rendered_output.rs b/tests/rendered_output.rs index c21d6276..56615703 100644 --- a/tests/rendered_output.rs +++ b/tests/rendered_output.rs @@ -519,9 +519,9 @@ fn redirects_are_emitted_correctly() { // override the "outputs.html.redirect" table let redirects: HashMap = vec![ - (PathBuf::from("overview.html"), String::from("index.html")), + (PathBuf::from("/overview.html"), String::from("index.html")), ( - PathBuf::from("nexted/page.md"), + PathBuf::from("/nexted/page.md"), String::from("https://rust-lang.org/"), ), ]