std: Fix another new symlink test on Windows

This commit is contained in:
Vadim Petrochenkov 2025-02-24 17:10:52 +03:00
parent bb029a1d3f
commit 9c65672397

View file

@ -1962,6 +1962,10 @@ fn test_rename_directory_to_non_empty_directory() {
#[test]
fn test_rename_symlink() {
let tmpdir = tmpdir();
if !got_symlink_permission(&tmpdir) {
return;
};
let original = tmpdir.join("original");
let dest = tmpdir.join("dest");
let not_exist = Path::new("does not exist");