kingfisher/tests/smoke_github_homebrew.rs
2025-06-29 22:50:16 -07:00

19 lines
No EOL
557 B
Rust

use assert_cmd::Command;
use predicates::str::contains;
#[test]
fn scan_homebrew_github_no_findings() -> anyhow::Result<()> {
Command::cargo_bin("kingfisher")?
.args([
"scan",
"--git-url",
"https://github.com/homebrew/.github",
"--no-update-check",
])
.assert()
.success()
.stdout(contains("|Findings....................: 0"))
.stdout(contains("|__Successful Validations....: 0"))
.stdout(contains("|__Failed Validations........: 0"));
Ok(())
}