Updated the test to reflect how redirect keys should be absolute
This commit is contained in:
parent
964a10ff29
commit
7b3e945a27
|
@ -519,9 +519,9 @@ fn redirects_are_emitted_correctly() {
|
|||
|
||||
// override the "outputs.html.redirect" table
|
||||
let redirects: HashMap<PathBuf, String> = 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/"),
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue