Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
chore(tests): update snapshots to insta modern format (#771)
Maximilian Roos6de933998c54
diff --git a/tests/snapshots/integration__integration_tests__ci_status__gitlab_ci_rate_limit.snap b/tests/snapshots/integration__integration_tests__ci_status__gitlab_ci_rate_limit.snapindex 444549638..9627524d8 100644--- a/tests/snapshots/integration__integration_tests__ci_status__gitlab_ci_rate_limit.snap+++ b/tests/snapshots/integration__integration_tests__ci_status__gitlab_ci_rate_limit.snap@@ -1,6 +1,5 @@---source: tests/integration_tests/ci_status.rs-assertion_line: 612info:program: wtargs:@@ -23,12 +22,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__ci_status__gitlab_mr_view_failure.snap b/tests/snapshots/integration__integration_tests__ci_status__gitlab_mr_view_failure.snapindex 65c402fdc..9627524d8 100644--- a/tests/snapshots/integration__integration_tests__ci_status__gitlab_mr_view_failure.snap+++ b/tests/snapshots/integration__integration_tests__ci_status__gitlab_mr_view_failure.snap@@ -1,6 +1,5 @@---source: tests/integration_tests/ci_status.rs-assertion_line: 592info:program: wtargs:@@ -23,12 +22,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__ci_status__url_based_pushremote.snap b/tests/snapshots/integration__integration_tests__ci_status__url_based_pushremote.snapindex d2d6bf64c..7801a31bd 100644--- a/tests/snapshots/integration__integration_tests__ci_status__url_based_pushremote.snap+++ b/tests/snapshots/integration__integration_tests__ci_status__url_based_pushremote.snap@@ -22,12 +22,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_merge.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_merge.snapindex c4985a8d2..d9be9f406 100644--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_merge.snap+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_merge.snap@@ -23,12 +23,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_remove.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_remove.snapindex b074bb2cc..51121f841 100644--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_remove.snap+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_post_remove.snap@@ -23,12 +23,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_pre_remove.snap b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_pre_remove.snapindex 03c05ac20..cfed66b7f 100644--- a/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_pre_remove.snap+++ b/tests/snapshots/integration__integration_tests__hook_show__hook_show_filter_pre_remove.snap@@ -23,12 +23,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap b/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snapindex 9fcc7593f..6a0a1996b 100644--- a/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap+++ b/tests/snapshots/integration__integration_tests__list__list_with_c_flag.snap@@ -4,7 +4,7 @@ info:program: wtargs:- "-C"- - /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpMgGbDu/repo+ - /private/var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpeeGXaP/repo- listenv:CLICOLOR_FORCE: "1"diff --git a/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_directory_missing.snap b/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_directory_missing.snapindex 46e6482c7..109d2db08 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_directory_missing.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_directory_missing.snap@@ -22,12 +22,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_keep_branch.snap b/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_keep_branch.snapindex d6441c694..9731740dd 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_keep_branch.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_pruned_worktree_keep_branch.snap@@ -23,12 +23,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__command_failure.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__command_failure.snapindex 540cf91b0..d97aaa91d 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__command_failure.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__command_failure.snap@@ -1,6 +1,7 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[31mβ[39m [31mBranch [1mexisting[22m already exists[39m[2mβ³[22m [2mTo switch to the existing branch, remove [90m--create[39m and run [90mwt switch existing[39m[22mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge.snapindex 0d1ee5188..ba6aa6dab 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge.snap@@ -1,6 +1,7 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[2mβ[22m Already up to date with [1mmain[22m (no new commits, no rebase needed)[2mβ[22m Worktree preserved (main worktree)diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_bash.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_bash.snapindex 3f8fe27ff..82b2062a1 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_bash.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_bash.snap@@ -2,6 +2,7 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:check1[22m:[39m[107m [0m [2m[0m[2m[34m_REPO_/mixed-output.sh[0m[2m check1 3[check1] stdout line 1diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_zsh.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_zsh.snapindex 3f8fe27ff..82b2062a1 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_zsh.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_mixed_stdout_stderr_zsh.snap@@ -2,6 +2,7 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:check1[22m:[39m[107m [0m [2m[0m[2m[34m_REPO_/mixed-output.sh[0m[2m check1 3[check1] stdout line 1diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_bash.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_bash.snapindex 49ca951f0..40a172db2 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_bash.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_bash.snap@@ -1,7 +1,8 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:format[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'β Code formatting check passed'[0m[2mβ Code formatting check passeddiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_zsh.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_zsh.snapindex 49ca951f0..40a172db2 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_zsh.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_failure_zsh.snap@@ -1,7 +1,8 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:format[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'β Code formatting check passed'[0m[2mβ Code formatting check passeddiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_bash.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_bash.snapindex 9113c99f6..d2ffa39f3 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_bash.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_bash.snap@@ -2,6 +2,7 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:format[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'β Code formatting check passed'[0m[2mβ Code formatting check passeddiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_zsh.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_zsh.snapindex 9113c99f6..d2ffa39f3 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_zsh.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__merge_with_pre_merge_success_zsh.snap@@ -2,6 +2,7 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ[39m [36mRunning pre-merge [1mproject:format[22m:[39m[107m [0m [2m[0m[2m[34mecho[0m[2m [0m[2m[32m'β Code formatting check passed'[0m[2mβ Code formatting check passeddiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_pre_merge.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_pre_merge.snapindex 5dd5e609d..7585fe03e 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_pre_merge.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_hooks_pre_merge.snap@@ -2,6 +2,7 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ[39m [36mSquashing 3 commits into a single commit [90m(2 files, [32m+45[39m[39m[90m)[39m...[39m[36mβ[39m [36mGenerating squash commit message...[39m[107m [0m [1mfeat(api): Add user authentication endpoints[22mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_remove.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_remove.snapindex 8689e36cf..fd254a17c 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_remove.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_remove.snap@@ -2,5 +2,6 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[36mβ Removing [1mfeature-api[22m worktree & branch in background (same commit as [1mmain[22m,[39m [2m_[22m[36m)[39m[2mβ[22m Switched to worktree for [1mmain[22m @ [1m_REPO_[22mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_switch_back.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_switch_back.snapindex 310c47f92..38e6d8ecf 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_switch_back.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__readme_example_switch_back.snap@@ -2,4 +2,5 @@source: tests/integration_tests/shell_wrapper.rsexpression: "&output.combined"---+[2mβ[22m Switched to worktree for [1mfeature-api[22m @ [1m_REPO_.feature-api[22mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__remove.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__remove.snapindex 96035d893..c009d2e8f 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__remove.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__remove.snap@@ -1,5 +1,6 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[36mβ Removing [1mto-remove[22m worktree & branch in background (same commit as [1mmain[22m,[39m [2m_[22m[36m)[39mdiff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__source_flag_error_passthrough.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__source_flag_error_passthrough.snapindex 24883e47e..7644133b4 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__source_flag_error_passthrough.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__source_flag_error_passthrough.snap@@ -1,7 +1,8 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[1m[31merror:[0m unrecognized subcommand '[1m[33mfoo[0m'[1m[32mtip:[0m a similar subcommand exists: '[1m[32mhook[0m'diff --git a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__step_for_each.snap b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__step_for_each.snapindex f2c331299..fcab659d9 100644--- a/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__step_for_each.snap+++ b/tests/snapshots/integration__integration_tests__shell_wrapper__unix_tests__step_for_each.snap@@ -1,7 +1,8 @@---source: tests/integration_tests/shell_wrapper.rs-expression: output.normalized()+expression: "&output.combined"---+[36mβ[39m [36mRunning in [1mmain[22m...[39mBranch: main[36mβ[39m [36mRunning in [1mfeature-a[22m...[39mdiff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_executes.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_executes.snapindex 0886f2bfb..068e8c865 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_executes.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_executes.snap@@ -23,12 +23,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: truediff --git a/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_no_verify.snap b/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_no_verify.snapindex 651555012..cbc589d64 100644--- a/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_no_verify.snap+++ b/tests/snapshots/integration__integration_tests__user_hooks__user_post_remove_no_verify.snap@@ -24,12 +24,12 @@ info:PATH: "[PATH]"RUST_LOG: warnSHELL: ""- SOURCE_DATE_EPOCH: "1735776000"TERM: alacrittyUSERPROFILE: "[TEST_HOME]"WORKTRUNK_CONFIG_PATH: "[TEST_CONFIG]"WORKTRUNK_TEST_SKIP_URL_HEALTH_CHECK: "1"WT_TEST_DELAYED_STREAM_MS: "-1"+ WT_TEST_EPOCH: "1735776000"XDG_CONFIG_HOME: "[TEST_CONFIG_HOME]"---success: true