mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-09 16:10:34 -04:00
process: Fix test warnings
This commit is contained in:
parent
ab0f6cffed
commit
0142f1199f
1 changed files with 3 additions and 3 deletions
|
@ -60,15 +60,15 @@ mod test {
|
|||
use super::*;
|
||||
use crate::testing;
|
||||
|
||||
fn ok(_: &str, args: &[&OsStr]) -> Result<(i32, String)> {
|
||||
fn ok(_: &str, _: &[&OsStr]) -> Result<(i32, String)> {
|
||||
Ok((0, String::from("ok")))
|
||||
}
|
||||
|
||||
fn code(_: &str, args: &[&OsStr]) -> Result<(i32, String)> {
|
||||
fn code(_: &str, _: &[&OsStr]) -> Result<(i32, String)> {
|
||||
Ok((1, String::from("code")))
|
||||
}
|
||||
|
||||
fn exit(_: &str, args: &[&OsStr]) -> Result<(i32, String)> {
|
||||
fn exit(_: &str, _: &[&OsStr]) -> Result<(i32, String)> {
|
||||
Err(anyhow!("oops!"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue