mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
Merge pull request #5233 from cakebaker/mknod_remove_unnecessary_not_in_test
mknod: remove unnecessary "not" in test
This commit is contained in:
commit
1f65375b81
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…
Add table
Add a link
Reference in a new issue