mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 23:02:38 +00:00
mknod: remove unnecessary "not" in test
This commit is contained in:
parent
633ae06524
commit
be3aac924b
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ mod test {
|
||||||
assert_eq!(super::parse_mode("u+x").unwrap(), 0o766);
|
assert_eq!(super::parse_mode("u+x").unwrap(), 0o766);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
super::parse_mode("+x").unwrap(),
|
super::parse_mode("+x").unwrap(),
|
||||||
if !is_wsl() { 0o777 } else { 0o776 }
|
if is_wsl() { 0o776 } else { 0o777 }
|
||||||
);
|
);
|
||||||
assert_eq!(super::parse_mode("a-w").unwrap(), 0o444);
|
assert_eq!(super::parse_mode("a-w").unwrap(), 0o444);
|
||||||
assert_eq!(super::parse_mode("g-r").unwrap(), 0o626);
|
assert_eq!(super::parse_mode("g-r").unwrap(), 0o626);
|
||||||
|
|
Loading…
Reference in a new issue