mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Add verify test
This commit is contained in:
parent
81d02db5fc
commit
aecd4077da
|
@ -17,7 +17,7 @@ pub enum Error {
|
||||||
CargoToml,
|
CargoToml,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn command() -> clap::Command<'static> {
|
pub fn command() -> clap::Command {
|
||||||
clap::Command::new("publish")
|
clap::Command::new("publish")
|
||||||
.about("Publishes agb and all subcrates")
|
.about("Publishes agb and all subcrates")
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -196,6 +196,11 @@ fn read_cargo_toml(folder: &Path) -> Result<Document, Error> {
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn verify_cli() {
|
||||||
|
command().debug_assert();
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn url_to_poll_should_return_correct_url() {
|
fn url_to_poll_should_return_correct_url() {
|
||||||
let test_cases = [
|
let test_cases = [
|
||||||
|
|
Loading…
Reference in a new issue