mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
fix windows symlink_file function in integraton test not found
Signed-off-by: tommady <tommady@users.noreply.github.com>
This commit is contained in:
parent
c418ca6240
commit
cdee3dbe88
@ -497,7 +497,7 @@ fn tar_symlink_pack_and_unpack() {
|
||||
#[cfg(unix)]
|
||||
std::os::unix::fs::symlink(&files_path[0], &symlink_path).unwrap();
|
||||
#[cfg(windows)]
|
||||
std::os::windows::symlink_file(&files_path[0], &symlink_path).unwrap();
|
||||
std::os::windows::fs::symlink_file(&files_path[0], &symlink_path).unwrap();
|
||||
|
||||
files_path.push(symlink_path);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user