diff --git a/tools/src/publish.rs b/tools/src/publish.rs index 9542f7e6..73a34d57 100644 --- a/tools/src/publish.rs +++ b/tools/src/publish.rs @@ -17,7 +17,7 @@ pub enum Error { CargoToml, } -pub fn command() -> clap::Command<'static> { +pub fn command() -> clap::Command { clap::Command::new("publish") .about("Publishes agb and all subcrates") .arg( @@ -196,6 +196,11 @@ fn read_cargo_toml(folder: &Path) -> Result { mod test { use super::*; + #[test] + fn verify_cli() { + command().debug_assert(); + } + #[test] fn url_to_poll_should_return_correct_url() { let test_cases = [