remove redundant tests

This commit is contained in:
Taha Hawa 2025-04-23 14:10:39 -04:00
parent b7dd3b50d9
commit 4b7715bb6d

View File

@ -18,22 +18,3 @@ async fn main() {
]);
harmony_cli::init(maestro, None).await.unwrap();
}
#[allow(unused)]
use assert_cmd::Command;
#[test]
fn test_example_success() {
let mut cmd = Command::cargo_bin("example-cli").unwrap();
let assert = cmd.args(&["--yes", "--filter", "SuccessScore"]).assert();
assert.success();
}
#[test]
fn test_example_fail() {
let mut cmd_fail = Command::cargo_bin("example-cli").unwrap();
let assert_fail = cmd_fail.args(&["--yes", "--filter", "ErrorScore"]).assert();
assert_fail.failure();
}