mirror of
https://github.com/Hopiu/lychee.git
synced 2026-04-27 16:34:46 +00:00
Relative path not needed
This commit is contained in:
parent
b3c5d122e7
commit
f143087743
1 changed files with 2 additions and 2 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue