Add verify test

This commit is contained in:
Gwilym Kuiper 2022-10-01 19:42:39 +01:00
parent 81d02db5fc
commit aecd4077da

View file

@ -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<Document, Error> {
mod test {
use super::*;
#[test]
fn verify_cli() {
command().debug_assert();
}
#[test]
fn url_to_poll_should_return_correct_url() {
let test_cases = [