diff --git a/crates/maestro-daemon/tests/session_manager.rs b/crates/maestro-daemon/tests/session_manager.rs index 5a8cba4..12d5c5e 100644 --- a/crates/maestro-daemon/tests/session_manager.rs +++ b/crates/maestro-daemon/tests/session_manager.rs @@ -687,7 +687,6 @@ async fn natural_exit_of_a_guarded_worktree_retains_it_in_the_store() { worktree: Some(WorktreeSpec { base_repo: repo.path().to_path_buf(), branch: "feat/exited".into(), - cleanup_on_kill: true, create_branch: true, }), }) @@ -761,7 +760,6 @@ async fn natural_exit_of_a_pristine_worktree_removes_it() { worktree: Some(WorktreeSpec { base_repo: repo.path().to_path_buf(), branch: "feat/clean".into(), - cleanup_on_kill: true, create_branch: true, }), }) @@ -823,7 +821,6 @@ async fn natural_exit_without_a_retained_store_destroys_nothing() { worktree: Some(WorktreeSpec { base_repo: repo.path().to_path_buf(), branch: "feat/nostore".into(), - cleanup_on_kill: true, create_branch: true, }), }) diff --git a/crates/maestro-e2e/tests/e2e.rs b/crates/maestro-e2e/tests/e2e.rs index d5fb649..af64f16 100644 --- a/crates/maestro-e2e/tests/e2e.rs +++ b/crates/maestro-e2e/tests/e2e.rs @@ -45,7 +45,6 @@ fn worktree_req(base: &std::path::Path, branch: &str, create_branch: bool) -> Cr worktree: Some(WorktreeSpec { base_repo: base.to_path_buf(), branch: branch.into(), - cleanup_on_kill: true, create_branch, }), } @@ -144,7 +143,6 @@ async fn kill_removes_clean_worktree() { worktree: Some(WorktreeSpec { base_repo: base.path().to_path_buf(), branch: "feature/e2e".into(), - cleanup_on_kill: true, create_branch: true, }), }; @@ -202,7 +200,6 @@ async fn kill_refuses_worktree_with_uncommitted_changes() { worktree: Some(WorktreeSpec { base_repo: base.path().to_path_buf(), branch: "feature/unsaved".into(), - cleanup_on_kill: true, create_branch: true, }), }; @@ -265,7 +262,6 @@ async fn spawn_on_existing_branch_checks_it_out() { worktree: Some(WorktreeSpec { base_repo: base.path().to_path_buf(), branch: "feature/existing".into(), - cleanup_on_kill: true, create_branch: false, }), };