diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2022-10-15 07:27:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-15 07:27:56 -0400 |
commit | 41970d9c64ba0a442cd8314456785b4bb6c2f7b7 (patch) | |
tree | cda628c71dbfdd3f993633e7a498a1f12d2ac481 /src | |
parent | 8b72a33f4072e92e1b5f4993850ada5322a2051c (diff) |
other: add quick test for building clap app (#834)
Diffstat (limited to 'src')
-rw-r--r-- | src/clap.rs | 10 |
1 files changed, 10 insertions, 0 deletions
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(); + } +} |