Skip to content

Commit da4ed26

Browse files
Shooksieclaude
andcommitted
fix: update test harness from cargo_bin!("ao") to cargo_bin!("animus")
Tests referenced the removed ao binary target. All 8 references updated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent add38d3 commit da4ed26

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

crates/orchestrator-cli/tests/cli_smoke.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use std::process::Command;
33

44
#[test]
55
fn help_includes_top_level_usage() -> Result<(), Box<dyn std::error::Error>> {
6-
let binary = assert_cmd::cargo::cargo_bin!("ao");
6+
let binary = assert_cmd::cargo::cargo_bin!("animus");
77
let output = Command::new(binary).arg("--help").output()?;
88
assert!(output.status.success(), "help command should succeed");
99
let stdout = String::from_utf8(output.stdout)?;
@@ -15,7 +15,7 @@ fn help_includes_top_level_usage() -> Result<(), Box<dyn std::error::Error>> {
1515

1616
#[test]
1717
fn help_surfaces_command_descriptions_for_core_groups() -> Result<(), Box<dyn std::error::Error>> {
18-
let binary = assert_cmd::cargo::cargo_bin!("ao");
18+
let binary = assert_cmd::cargo::cargo_bin!("animus");
1919

2020
let top_level_help = Command::new(&binary).arg("--help").output()?;
2121
assert!(top_level_help.status.success(), "top-level help should succeed");
@@ -88,7 +88,7 @@ fn help_surfaces_command_descriptions_for_core_groups() -> Result<(), Box<dyn st
8888

8989
#[test]
9090
fn help_surfaces_accepted_values_and_confirmation_guidance() -> Result<(), Box<dyn std::error::Error>> {
91-
let binary = assert_cmd::cargo::cargo_bin!("ao");
91+
let binary = assert_cmd::cargo::cargo_bin!("animus");
9292

9393
let task_help = Command::new(&binary).args(["task", "list", "--help"]).output()?;
9494
assert!(task_help.status.success(), "task list help should succeed");
@@ -186,7 +186,7 @@ fn help_surfaces_accepted_values_and_confirmation_guidance() -> Result<(), Box<d
186186

187187
#[test]
188188
fn help_uses_explicit_value_names_and_repeatable_flag_guidance() -> Result<(), Box<dyn std::error::Error>> {
189-
let binary = assert_cmd::cargo::cargo_bin!("ao");
189+
let binary = assert_cmd::cargo::cargo_bin!("animus");
190190

191191
let task_update_help = Command::new(&binary).args(["task", "update", "--help"]).output()?;
192192
assert!(task_update_help.status.success(), "task update help should succeed");
@@ -240,7 +240,7 @@ fn help_uses_explicit_value_names_and_repeatable_flag_guidance() -> Result<(), B
240240

241241
#[test]
242242
fn version_subcommand_supports_json_output() -> Result<(), Box<dyn std::error::Error>> {
243-
let binary = assert_cmd::cargo::cargo_bin!("ao");
243+
let binary = assert_cmd::cargo::cargo_bin!("animus");
244244
let output = Command::new(binary).args(["--json", "version"]).output()?;
245245
assert!(output.status.success(), "version command should succeed");
246246

@@ -256,7 +256,7 @@ fn version_subcommand_supports_json_output() -> Result<(), Box<dyn std::error::E
256256

257257
#[test]
258258
fn invalid_arguments_include_usage_and_help_hint() -> Result<(), Box<dyn std::error::Error>> {
259-
let binary = assert_cmd::cargo::cargo_bin!("ao");
259+
let binary = assert_cmd::cargo::cargo_bin!("animus");
260260
let output = Command::new(binary).args(["task", "list", "--bogus"]).output()?;
261261

262262
assert!(!output.status.success(), "unknown argument should produce a failing exit code");

crates/orchestrator-cli/tests/session_continuation_e2e.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ fn is_enabled() -> bool {
2929
}
3030

3131
fn ao_binary() -> PathBuf {
32-
assert_cmd::cargo::cargo_bin!("ao").to_path_buf()
32+
assert_cmd::cargo::cargo_bin!("animus").to_path_buf()
3333
}
3434

3535
fn project_root() -> String {

crates/orchestrator-cli/tests/support/test_harness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct CliHarness {
1313

1414
impl CliHarness {
1515
pub fn new() -> Result<Self> {
16-
let binary_path = assert_cmd::cargo::cargo_bin!("ao").to_path_buf();
16+
let binary_path = assert_cmd::cargo::cargo_bin!("animus").to_path_buf();
1717
let project_root = tempfile::tempdir().context("failed to create project root tempdir")?;
1818
let config_root = tempfile::tempdir().context("failed to create config root tempdir")?;
1919
Ok(Self { binary_path, project_root, config_root })

0 commit comments

Comments
 (0)