mirror of https://github.com/sharkdp/fd.git
Only run owner root test on linux
Because macos doesn't have a "root" user
This commit is contained in:
parent
c159ea2042
commit
b04cae2ca0
|
@ -1949,7 +1949,7 @@ fn test_owner_current_group() {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
#[cfg(target_os = "linux")]
|
||||
#[test]
|
||||
fn test_owner_root() {
|
||||
// This test assumes the current user isn't root
|
||||
|
|
Loading…
Reference in New Issue