Add config test

This commit is contained in:
Pierre HUBERT 2023-04-27 17:50:29 +02:00
parent 8c9fafd43b
commit 5885468ca4

View File

@ -37,3 +37,14 @@ fn main() {
println!("Hello, world!");
}
#[cfg(test)]
mod test {
use crate::AppConfig;
#[test]
fn verify_cli() {
use clap::CommandFactory;
AppConfig::command().debug_assert();
}
}