Relative path not needed

This commit is contained in:
Matthias 2021-09-04 00:24:39 +02:00
parent b3c5d122e7
commit f143087743

View file

@ -79,7 +79,7 @@ mod test_path {
let abs_path = PathBuf::from("./foo.html");
assert_eq!(
resolve(&dummy, &abs_path, &None)?,
env::current_dir()?.join("./foo.html")
env::current_dir()?.join("foo.html")
);
Ok(())
}
@ -92,7 +92,7 @@ mod test_path {
let abs_path = PathBuf::from("./foo.html");
assert_eq!(
resolve(&dummy, &abs_path, &None)?,
env::current_dir()?.join("./foo.html")
env::current_dir()?.join("foo.html")
);
Ok(())
}