Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Rename internal directives and update test snapshots

Maximilian Roosdbeb72732a4a
diff --git a/TODO.md b/TODO.md
index 19475f1ab..cea4de87e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -153,8 +153,8 @@ wt-switch() {
# Parse output for special directives
while IFS= read -r line; do
case "$line" in
- __ARBOR_CD__*)
- cd "${line#__ARBOR_CD__}"
+ __WORKTRUNK_CD__*)
+ cd "${line#__WORKTRUNK_CD__}"
;;
*)
echo "$line"
@@ -172,7 +172,7 @@ wt-switch() {
**Directive format:**
```
-__ARBOR_CD__/path/to/worktree
+__WORKTRUNK_CD__/path/to/worktree
Regular output line
Another output line
```
@@ -235,7 +235,7 @@ Another output line
1. ~~**Shell integration approach**: How to handle `cd` in a compiled binary?~~
- ✅ **RESOLVED**: Use "eval init" pattern with directive protocol
- Generate shell-specific wrapper functions via Askama templates
- - Binary outputs `__ARBOR_CD__<path>` directives, shell wrapper executes `cd`
+ - Binary outputs `__WORKTRUNK_CD__<path>` directives, shell wrapper executes `cd`
2. **External command dependencies**: How to handle git-commit-llm, claude, task?
- Configurable hooks?
diff --git a/snapshots/test_directives__finish_internal_directive.snap b/snapshots/test_directives__finish_internal_directive.snap
deleted file mode 100644
index 2dc89d085..000000000
--- a/snapshots/test_directives__finish_internal_directive.snap
+++ /dev/null
@@ -1,24 +0,0 @@
----
-source: tests/test_directives.rs
-info:
- program: arbor
- args:
- - finish
- - "--internal"
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-__ARBOR_CD__[PATH]
-Finished worktree and returned to primary
-
------ stderr -----
diff --git a/snapshots/test_directives__finish_without_internal.snap b/snapshots/test_directives__finish_without_internal.snap
deleted file mode 100644
index d5a16ffe3..000000000
--- a/snapshots/test_directives__finish_without_internal.snap
+++ /dev/null
@@ -1,23 +0,0 @@
----
-source: tests/test_directives.rs
-info:
- program: arbor
- args:
- - finish
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-Finishing worktree
-Note: Use 'arbor-finish' (with shell integration) for automatic cd
-
------ stderr -----
diff --git a/snapshots/test_directives__switch_internal_directive.snap b/snapshots/test_directives__switch_internal_directive.snap
deleted file mode 100644
index 317683f2f..000000000
--- a/snapshots/test_directives__switch_internal_directive.snap
+++ /dev/null
@@ -1,25 +0,0 @@
----
-source: tests/test_directives.rs
-info:
- program: arbor
- args:
- - switch
- - my-feature
- - "--internal"
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-__ARBOR_CD__[PATH]
-Switched to worktree: my-feature
-
------ stderr -----
diff --git a/snapshots/test_directives__switch_without_internal.snap b/snapshots/test_directives__switch_without_internal.snap
deleted file mode 100644
index 580232c76..000000000
--- a/snapshots/test_directives__switch_without_internal.snap
+++ /dev/null
@@ -1,24 +0,0 @@
----
-source: tests/test_directives.rs
-info:
- program: arbor
- args:
- - switch
- - my-feature
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-Switching to worktree: my-feature
-Note: Use 'arbor-switch' (with shell integration) for automatic cd
-
------ stderr -----
diff --git a/snapshots/test_init__init_bash.snap b/snapshots/test_init__init_bash.snap
deleted file mode 100644
index ca90f3944..000000000
--- a/snapshots/test_init__init_bash.snap
+++ /dev/null
@@ -1,58 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - bash
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for bash
-
-# Helper function to parse arbor output and handle directives
-_arbor_exec() {
- local output line exit_code
- output="$("arbor" "$@" 2>&1)"
- exit_code=$?
-
- # Parse output line by line
- while IFS= read -r line; do
- if [[ "$line" == __ARBOR_CD__* ]]; then
- # Extract path and change directory
- \cd "${line#__ARBOR_CD__}"
- else
- # Regular output - print it
- echo "$line"
- fi
- done <<< "$output"
-
- return $exit_code
-}
-
-# Main commands that support directory changes
-arbor-switch() {
- _arbor_exec switch --internal "$@"
-}
-
-arbor-finish() {
- _arbor_exec finish --internal "$@"
-}
-
-# Convenience aliases
-alias arbor-sw='arbor-switch'
-alias arbor-fin='arbor-finish'
-
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_bash_all_options.snap b/snapshots/test_init__init_bash_all_options.snap
deleted file mode 100644
index a0a451418..000000000
--- a/snapshots/test_init__init_bash_all_options.snap
+++ /dev/null
@@ -1,75 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - bash
- - "--cmd"
- - wt
- - "--hook"
- - prompt
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for bash
-
-# Helper function to parse arbor output and handle directives
-_arbor_exec() {
- local output line exit_code
- output="$("arbor" "$@" 2>&1)"
- exit_code=$?
-
- # Parse output line by line
- while IFS= read -r line; do
- if [[ "$line" == __ARBOR_CD__* ]]; then
- # Extract path and change directory
- \cd "${line#__ARBOR_CD__}"
- else
- # Regular output - print it
- echo "$line"
- fi
- done <<< "$output"
-
- return $exit_code
-}
-
-# Main commands that support directory changes
-wt-switch() {
- _arbor_exec switch --internal "$@"
-}
-
-wt-finish() {
- _arbor_exec finish --internal "$@"
-}
-
-# Convenience aliases
-alias wt-sw='wt-switch'
-alias wt-fin='wt-finish'
-
-
-# Prompt hook for tracking current worktree
-_arbor_prompt_hook() {
- # Call arbor to update tracking
- command arbor hook prompt 2>/dev/null || true
-}
-
-# Add to PROMPT_COMMAND
-if [[ -z "${PROMPT_COMMAND}" ]]; then
- PROMPT_COMMAND="_arbor_prompt_hook"
-else
- PROMPT_COMMAND="${PROMPT_COMMAND}; _arbor_prompt_hook"
-fi
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_bash_custom_prefix.snap b/snapshots/test_init__init_bash_custom_prefix.snap
deleted file mode 100644
index cdfc10ae1..000000000
--- a/snapshots/test_init__init_bash_custom_prefix.snap
+++ /dev/null
@@ -1,60 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - bash
- - "--cmd"
- - wt
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for bash
-
-# Helper function to parse arbor output and handle directives
-_arbor_exec() {
- local output line exit_code
- output="$("arbor" "$@" 2>&1)"
- exit_code=$?
-
- # Parse output line by line
- while IFS= read -r line; do
- if [[ "$line" == __ARBOR_CD__* ]]; then
- # Extract path and change directory
- \cd "${line#__ARBOR_CD__}"
- else
- # Regular output - print it
- echo "$line"
- fi
- done <<< "$output"
-
- return $exit_code
-}
-
-# Main commands that support directory changes
-wt-switch() {
- _arbor_exec switch --internal "$@"
-}
-
-wt-finish() {
- _arbor_exec finish --internal "$@"
-}
-
-# Convenience aliases
-alias wt-sw='wt-switch'
-alias wt-fin='wt-finish'
-
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_bash_prompt_hook.snap b/snapshots/test_init__init_bash_prompt_hook.snap
deleted file mode 100644
index b11a2819e..000000000
--- a/snapshots/test_init__init_bash_prompt_hook.snap
+++ /dev/null
@@ -1,73 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - bash
- - "--hook"
- - prompt
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for bash
-
-# Helper function to parse arbor output and handle directives
-_arbor_exec() {
- local output line exit_code
- output="$("arbor" "$@" 2>&1)"
- exit_code=$?
-
- # Parse output line by line
- while IFS= read -r line; do
- if [[ "$line" == __ARBOR_CD__* ]]; then
- # Extract path and change directory
- \cd "${line#__ARBOR_CD__}"
- else
- # Regular output - print it
- echo "$line"
- fi
- done <<< "$output"
-
- return $exit_code
-}
-
-# Main commands that support directory changes
-arbor-switch() {
- _arbor_exec switch --internal "$@"
-}
-
-arbor-finish() {
- _arbor_exec finish --internal "$@"
-}
-
-# Convenience aliases
-alias arbor-sw='arbor-switch'
-alias arbor-fin='arbor-finish'
-
-
-# Prompt hook for tracking current worktree
-_arbor_prompt_hook() {
- # Call arbor to update tracking
- command arbor hook prompt 2>/dev/null || true
-}
-
-# Add to PROMPT_COMMAND
-if [[ -z "${PROMPT_COMMAND}" ]]; then
- PROMPT_COMMAND="_arbor_prompt_hook"
-else
- PROMPT_COMMAND="${PROMPT_COMMAND}; _arbor_prompt_hook"
-fi
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_fish.snap b/snapshots/test_init__init_fish.snap
deleted file mode 100644
index b963c8aca..000000000
--- a/snapshots/test_init__init_fish.snap
+++ /dev/null
@@ -1,57 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - fish
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for fish
-
-# Helper function to parse arbor output and handle directives
-function _arbor_exec
- set -l output (arbor $argv 2>&1)
- set -l exit_code $status
-
- # Parse output line by line
- for line in $output
- if string match -q '__ARBOR_CD__*' -- $line
- # Extract path and change directory
- cd (string sub -s 14 -- $line)
- else
- # Regular output - print it
- echo $line
- end
- end
-
- return $exit_code
-end
-
-# Main commands that support directory changes
-function arbor-switch
- _arbor_exec switch --internal $argv
-end
-
-function arbor-finish
- _arbor_exec finish --internal $argv
-end
-
-# Convenience aliases
-alias arbor-sw='arbor-switch'
-alias arbor-fin='arbor-finish'
-
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_fish_prompt_hook.snap b/snapshots/test_init__init_fish_prompt_hook.snap
deleted file mode 100644
index 27a3b5e64..000000000
--- a/snapshots/test_init__init_fish_prompt_hook.snap
+++ /dev/null
@@ -1,65 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - fish
- - "--hook"
- - prompt
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for fish
-
-# Helper function to parse arbor output and handle directives
-function _arbor_exec
- set -l output (arbor $argv 2>&1)
- set -l exit_code $status
-
- # Parse output line by line
- for line in $output
- if string match -q '__ARBOR_CD__*' -- $line
- # Extract path and change directory
- cd (string sub -s 14 -- $line)
- else
- # Regular output - print it
- echo $line
- end
- end
-
- return $exit_code
-end
-
-# Main commands that support directory changes
-function arbor-switch
- _arbor_exec switch --internal $argv
-end
-
-function arbor-finish
- _arbor_exec finish --internal $argv
-end
-
-# Convenience aliases
-alias arbor-sw='arbor-switch'
-alias arbor-fin='arbor-finish'
-
-
-# Prompt hook for tracking current worktree
-function _arbor_prompt_hook --on-event fish_prompt
- # Call arbor to update tracking
- command arbor hook prompt 2>/dev/null; or true
-end
-
-
------ stderr -----
diff --git a/snapshots/test_init__init_invalid_hook.snap b/snapshots/test_init__init_invalid_hook.snap
deleted file mode 100644
index ac90aa3c3..000000000
--- a/snapshots/test_init__init_invalid_hook.snap
+++ /dev/null
@@ -1,25 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - bash
- - "--hook"
- - invalid
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: false
-exit_code: 1
------ stdout -----
-
------ stderr -----
-Error: Git command failed: Invalid hook mode: invalid
diff --git a/snapshots/test_init__init_invalid_shell.snap b/snapshots/test_init__init_invalid_shell.snap
deleted file mode 100644
index 5d6745d60..000000000
--- a/snapshots/test_init__init_invalid_shell.snap
+++ /dev/null
@@ -1,23 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - invalid-shell
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: false
-exit_code: 1
------ stdout -----
-
------ stderr -----
-Error: Git command failed: Unsupported shell: invalid-shell
diff --git a/snapshots/test_init__init_zsh.snap b/snapshots/test_init__init_zsh.snap
deleted file mode 100644
index 68ab43d7c..000000000
--- a/snapshots/test_init__init_zsh.snap
+++ /dev/null
@@ -1,58 +0,0 @@
----
-source: tests/test_init.rs
-info:
- program: arbor
- args:
- - init
- - zsh
- env:
- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"
- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"
- GIT_CONFIG_GLOBAL: /dev/null
- GIT_CONFIG_SYSTEM: /dev/null
- GIT_EDITOR: ""
- LANG: C
- LC_ALL: C
- SOURCE_DATE_EPOCH: "1704067200"
----
-success: true
-exit_code: 0
------ stdout -----
-# arbor shell integration for zsh
-
-# Helper function to parse arbor output and handle directives
-_arbor_exec() {
- local output line exit_code
- output="$("arbor" "$@" 2>&1)"
- exit_code=$?
-
- # Parse output line by line
- while IFS= read -r line; do
- if [[ "$line" == __ARBOR_CD__* ]]; then
- # Extract path and change directory
- \cd "${line#__ARBOR_CD__}"
- else
- # Regular output - print it
- echo "$line"
- fi
- done <<< "$output"
-
- return $exit_code
-}
-
-# Main commands that support directory changes
-arbor-switch() {
- _arbor_exec switch --internal "$@"
-}
-
-arbor-finish() {
- _arbor_exec finish --internal "$@"
-}
-
-# Convenience aliases
-alias arbor-sw='arbor-switch'
-alias arbor-fin='arbor-finish'
-
-
-
------ stderr -----
diff --git a/snapshots/test_list__detached_head.snap b/snapshots/test_list__detached_head.snap
deleted file mode 100644
index 3b8c09f67..000000000
--- a/snapshots/test_list__detached_head.snap
+++ /dev/null
@@ -1,16 +0,0 @@
----
-source: tests/test_list.rs
-info:
- program: arbor
- args:
- - list
----
-success: true
-exit_code: 0
------ stdout -----
-[REPO]
- HEAD: [SHA]
- (detached)
-
-
------ stderr -----
diff --git a/snapshots/test_list__locked_no_reason.snap b/snapshots/test_list__locked_no_reason.snap
deleted file mode 100644
index 249d74604..000000000
--- a/snapshots/test_list__locked_no_reason.snap
+++ /dev/null
@@ -1,21 +0,0 @@
----
-source: tests/test_list.rs
-info:
- program: arbor
- args:
- - list
----
-success: true
-exit_code: 0
------ stdout -----
-[REPO]
- HEAD: [SHA]
- branch: main
-
-[WORKTREE_LOCKED_NO_REASON]
- HEAD: [SHA]
- branch: locked-no-reason
- (locked)
-
-
------ stderr -----
diff --git a/snapshots/test_list__locked_worktree.snap b/snapshots/test_list__locked_worktree.snap
deleted file mode 100644
index fd99620ae..000000000
--- a/snapshots/test_list__locked_worktree.snap
+++ /dev/null
@@ -1,21 +0,0 @@
----
-source: tests/test_list.rs
-info:
- program: arbor
- args:
- - list
----
-success: true
-exit_code: 0
------ stdout -----
-[REPO]
- HEAD: [SHA]
- branch: main
-
-[WORKTREE_LOCKED_FEATURE]
- HEAD: [SHA]
- branch: locked-feature
- (locked: Testing lock functionality)
-
-
------ stderr -----
diff --git a/snapshots/test_list__multiple_worktrees.snap b/snapshots/test_list__multiple_worktrees.snap
deleted file mode 100644
index cf3d4a3c9..000000000
--- a/snapshots/test_list__multiple_worktrees.snap
+++ /dev/null
@@ -1,24 +0,0 @@
----
-source: tests/test_list.rs
-info:
- program: arbor
- args:
- - list
----
-success: true
-exit_code: 0
------ stdout -----
-[REPO]
- HEAD: [SHA]
- branch: main
-
-[WORKTREE_FEATURE_A]
- HEAD: [SHA]
- branch: feature-a
-
-[WORKTREE_FEATURE_B]
- HEAD: [SHA]
- branch: feature-b
-
-
------ stderr -----
diff --git a/snapshots/test_list__single_worktree.snap b/snapshots/test_list__single_worktree.snap
deleted file mode 100644
index b40406a09..000000000
--- a/snapshots/test_list__single_worktree.snap
+++ /dev/null
@@ -1,16 +0,0 @@
----
-source: tests/test_list.rs
-info:
- program: arbor
- args:
- - list
----
-success: true
-exit_code: 0
------ stdout -----
-[REPO]
- HEAD: [SHA]
- branch: main
-
-
------ stderr -----
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index f99d07256..c61a32382 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -1,6 +1,6 @@
-//! # Test Utilities for arbor
+//! # Test Utilities for worktrunk
//!
-//! This module provides test harnesses for testing the arbor CLI tool.
+//! This module provides test harnesses for testing the worktrunk CLI tool.
//!
//! ## TestRepo
//!
@@ -93,14 +93,14 @@ impl TestRepo {
cmd.env("SOURCE_DATE_EPOCH", "1704067200");
}
- /// Clean environment for arbor CLI commands
+ /// Clean environment for worktrunk CLI commands
///
/// Removes potentially interfering environment variables and sets
/// deterministic git environment for CLI tests.
pub fn clean_cli_env(&self, cmd: &mut Command) {
// Remove git-related env vars that might interfere
for (key, _) in std::env::vars() {
- if key.starts_with("GIT_") || key.starts_with("ARBOR_") {
+ if key.starts_with("GIT_") || key.starts_with("WORKTRUNK_") {
cmd.env_remove(&key);
}
}
diff --git a/tests/snapshots/integration__integration_tests__init__init_invalid_hook.snap b/tests/snapshots/integration__integration_tests__init__init_invalid_hook.snap
index 4053efbb1..f5a4f2047 100644
--- a/tests/snapshots/integration__integration_tests__init__init_invalid_hook.snap
+++ b/tests/snapshots/integration__integration_tests__init__init_invalid_hook.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/init.rs
info:
- program: arbor
+ program: wt
args:
- init
- bash
diff --git a/tests/snapshots/integration__integration_tests__init__init_invalid_shell.snap b/tests/snapshots/integration__integration_tests__init__init_invalid_shell.snap
index 2211a1639..cc094d0b8 100644
--- a/tests/snapshots/integration__integration_tests__init__init_invalid_shell.snap
+++ b/tests/snapshots/integration__integration_tests__init__init_invalid_shell.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/init.rs
info:
- program: arbor
+ program: wt
args:
- init
- invalid-shell
diff --git a/tests/snapshots/integration__integration_tests__list__detached_head.snap b/tests/snapshots/integration__integration_tests__list__detached_head.snap
index dab2ee001..e1a8ff5c8 100644
--- a/tests/snapshots/integration__integration_tests__list__detached_head.snap
+++ b/tests/snapshots/integration__integration_tests__list__detached_head.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/list.rs
info:
- program: arbor
+ program: wt
args:
- list
env:
diff --git a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
index 66a5860f8..fb320bb7a 100644
--- a/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
+++ b/tests/snapshots/integration__integration_tests__list__locked_no_reason.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/list.rs
info:
- program: arbor
+ program: wt
args:
- list
env:
diff --git a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap b/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
index 270a8230b..714e8fd04 100644
--- a/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__list__locked_worktree.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/list.rs
info:
- program: arbor
+ program: wt
args:
- list
env:
diff --git a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
index ce9c5fc10..4c7e314b6 100644
--- a/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
+++ b/tests/snapshots/integration__integration_tests__list__multiple_worktrees.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/list.rs
info:
- program: arbor
+ program: wt
args:
- list
env:
diff --git a/tests/snapshots/integration__integration_tests__list__single_worktree.snap b/tests/snapshots/integration__integration_tests__list__single_worktree.snap
index f3f7cf977..65e738115 100644
--- a/tests/snapshots/integration__integration_tests__list__single_worktree.snap
+++ b/tests/snapshots/integration__integration_tests__list__single_worktree.snap
@@ -1,7 +1,7 @@
---
source: tests/integration_tests/list.rs
info:
- program: arbor
+ program: wt
args:
- list
env: