mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
Add verify test
This commit is contained in:
parent
81d02db5fc
commit
aecd4077da
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue