Add a test for verifying the clap CLI.

This commit is contained in:
Tom Alexander 2023-10-18 19:49:03 -04:00
parent a1f4600483
commit 179b07388a
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
1 changed files with 11 additions and 0 deletions

View File

@ -45,3 +45,14 @@ pub(crate) struct AddPostArgs {
#[arg(short, long)]
pub(crate) config: PathBuf,
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn verify_cli() {
use clap::CommandFactory;
Cli::command().debug_assert()
}
}