mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-29 08:34:36 +02:00
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…
x
Reference in New Issue
Block a user