From e98346fad50bfdccde1c1923c03d2c99fe057da3 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sun, 22 Mar 2026 17:53:36 +0545 Subject: [PATCH] fix test --- tests/inhibit.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/inhibit.rs b/tests/inhibit.rs index a3a4d90..3a8bff2 100644 --- a/tests/inhibit.rs +++ b/tests/inhibit.rs @@ -11,6 +11,7 @@ fn test_inhibit_cli_parsing() { why, who, daemon, + stop: _, } = cli.command { assert_eq!(command, vec!["sleep".to_string(), "10".to_string()]); @@ -30,8 +31,9 @@ fn test_inhibit_daemon_parsing() { if let Commands::Inhibit { command, why, - who, + who: _, daemon, + stop: _, } = cli.command { assert!(command.is_empty());