diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-16 10:31:46 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-16 10:31:46 +0200 |
commit | 10f9d8bfd0c84146638cfdaf6b076493f943e650 (patch) | |
tree | 7ff854f6742c4ea7634af86cb3829b8a48d203ca | |
parent | fix(libmpv2-sys): Avoid generating comments, that confuse rustdoc (diff) | |
download | yt-10f9d8bfd0c84146638cfdaf6b076493f943e650.zip |
test(yt/cli): Test the CLI
-rw-r--r-- | crates/yt/src/cli.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/yt/src/cli.rs b/crates/yt/src/cli.rs index 952cd53..41fadf4 100644 --- a/crates/yt/src/cli.rs +++ b/crates/yt/src/cli.rs @@ -447,3 +447,14 @@ pub enum CacheCommand { all: bool, }, } + +#[cfg(test)] +mod test { + use clap::CommandFactory; + + use super::CliArgs; + #[test] + fn verify_cli() { + CliArgs::command().debug_assert(); + } +} |