Skip to content

Commit

Permalink
Fix Windows test
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Jan 22, 2025
1 parent 6ccf803 commit 1f9abb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ impl Test {
file.display()
);

if !cfg!(windows) {
#[cfg(unix)]
{
let perms = std::os::unix::fs::PermissionsExt::from_mode(0o755);
fs::set_permissions(file, perms).unwrap();
}
Expand Down

0 comments on commit 1f9abb5

Please sign in to comment.