From 41970d9c64ba0a442cd8314456785b4bb6c2f7b7 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sat, 15 Oct 2022 07:27:56 -0400 Subject: [PATCH] other: add quick test for building clap app (#834) --- src/clap.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/clap.rs b/src/clap.rs index c667088a..a882d932 100644 --- a/src/clap.rs +++ b/src/clap.rs @@ -404,3 +404,13 @@ use CPU (3) as the default instead. app } } + +#[cfg(test)] +mod test { + use super::*; + + #[test] + fn verify_cli() { + build_app().debug_assert(); + } +}