style: cargo fmt --all
This commit is contained in:
parent
80b0025831
commit
81b6cf51a3
1 changed files with 3 additions and 6 deletions
|
@ -11,13 +11,10 @@ fn extract_should_respect_links(){
|
|||
let temp_dir = TempDir::new("pandoc_soft_links").unwrap();
|
||||
archive.extract(&temp_dir).unwrap();
|
||||
|
||||
|
||||
let symlink_path = temp_dir.path().join("pandoc-3.2-arm64/bin/pandoc-lua");
|
||||
|
||||
// Read the target of the symbolic link
|
||||
let target_path = fs::read_link(&symlink_path).unwrap();
|
||||
|
||||
assert_eq!(target_path, PathBuf::from_str("pandoc").unwrap());
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue