Skip to content

Commit

Permalink
Fix sudo-system tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdrz committed May 5, 2023
1 parent bf3846f commit d7b0b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sudo-system/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ mod tests {
#[test]
fn pgid_test() {
use super::getpgid;
assert_eq!(getpgid(std::process::id() as i32), getpgid(0));
assert_eq!(getpgid(std::process::id() as i32).unwrap(), getpgid(0).unwrap());
}
#[test]
fn kill_test() {
Expand Down

0 comments on commit d7b0b47

Please sign in to comment.