mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2026-01-16 10:11:01 +00:00
Ride along: fix some trivial clippy warnings
This commit is contained in:
parent
90e0d3030f
commit
aae3f2f99c
2 changed files with 3 additions and 3 deletions
|
|
@ -209,7 +209,7 @@ mod test {
|
|||
assert_eq!(super::parse_mode("u+x").unwrap(), 0o766);
|
||||
assert_eq!(
|
||||
super::parse_mode("+x").unwrap(),
|
||||
if !crate::os::is_wsl_1() { 0o777 } else { 0o776 }
|
||||
if crate::os::is_wsl_1() { 0o776 } else { 0o777 }
|
||||
);
|
||||
assert_eq!(super::parse_mode("a-w").unwrap(), 0o444);
|
||||
assert_eq!(super::parse_mode("g-r").unwrap(), 0o626);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue