mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
use semicolons if nothing returned
This commit is contained in:
parent
a2d5f06be4
commit
784f2e2ea1
56 changed files with 125 additions and 127 deletions
|
@ -48,7 +48,7 @@ mod test_passgrp {
|
|||
#[test]
|
||||
fn test_grp2gid() {
|
||||
if cfg!(target_os = "linux") || cfg!(target_os = "android") || cfg!(target_os = "windows") {
|
||||
assert_eq!(0, grp2gid("root").unwrap())
|
||||
assert_eq!(0, grp2gid("root").unwrap());
|
||||
} else {
|
||||
assert_eq!(0, grp2gid("wheel").unwrap());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue