Add config test
This commit is contained in:
parent
8c9fafd43b
commit
5885468ca4
11
src/main.rs
11
src/main.rs
@ -37,3 +37,14 @@ fn main() {
|
|||||||
|
|
||||||
println!("Hello, world!");
|
println!("Hello, world!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(test)]
|
||||||
|
mod test {
|
||||||
|
use crate::AppConfig;
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn verify_cli() {
|
||||||
|
use clap::CommandFactory;
|
||||||
|
AppConfig::command().debug_assert();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user