Add more configuration tests
This commit is contained in:
11
src/main.rs
11
src/main.rs
@@ -36,3 +36,14 @@ async fn main() -> std::io::Result<()> {
|
||||
SubCommands::Client(c) => tcp_over_http::tcp_relay_client::run_app(c).await,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use crate::CliArgs;
|
||||
|
||||
#[test]
|
||||
fn verify_cli() {
|
||||
use clap::CommandFactory;
|
||||
CliArgs::command().debug_assert()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user