diff options
| author | Aram Drevekenin <aram@poor.dev> | 2026-03-11 11:11:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-11 11:11:18 +0100 |
| commit | 40d9a5b1ee89a0e5b9f682113f22c32adcda417f (patch) | |
| tree | be49f02d33b473201fc98e6479ed9bde579d3480 | |
| parent | fix: atomic floating pane issues with the about screen (#4834) (diff) | |
| download | sl0ppij-40d9a5b1ee89a0e5b9f682113f22c32adcda417f.tar.gz sl0ppij-40d9a5b1ee89a0e5b9f682113f22c32adcda417f.tar.xz sl0ppij-40d9a5b1ee89a0e5b9f682113f22c32adcda417f.zip | |
add verify cli test (#4835)
| -rw-r--r-- | src/tests/cli.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tests/cli.rs b/src/tests/cli.rs index 12d8ca6d..ba0ea668 100644 --- a/src/tests/cli.rs +++ b/src/tests/cli.rs @@ -1,9 +1,14 @@ use std::net::{IpAddr, Ipv4Addr}; -use clap::Parser; +use clap::{CommandFactory, Parser}; use zellij_utils::cli::{CliArgs, Command}; #[test] +fn verify_cli() { + CliArgs::command().debug_assert(); +} + +#[test] fn web_cli_status_alone_works() { let args = CliArgs::try_parse_from(["zellij", "web", "--status"]); assert!(args.is_ok()); |
