other: add quick test for building clap app (#834)
This commit is contained in:
parent
8b72a33f40
commit
41970d9c64
10
src/clap.rs
10
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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue