new features #3

Merged
S4NKALP merged 2 commits from dev into main 2026-03-22 12:10:25 +00:00
Showing only changes of commit e98346fad5 - Show all commits
+3 -1
View File
@@ -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());