Files
git-issue-commit/tests/integration_tests.rs
7000pctAUTO 3e2f0ca26c
Some checks failed
CI / test (push) Has been cancelled
CI / release (push) Has been cancelled
Initial commit: git-issue-commit CLI tool
2026-01-29 19:59:31 +00:00

19 lines
422 B
Rust

#[cfg(test)]
mod integration_tests {
use assert_cmd::Command;
#[test]
fn test_cli_help() {
let mut cmd = Command::cargo_bin("git-issue-commit").unwrap();
cmd.arg("--help");
cmd.assert().success();
}
#[test]
fn test_cli_version() {
let mut cmd = Command::cargo_bin("git-issue-commit").unwrap();
cmd.arg("--version");
cmd.assert().success();
}
}