Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
test(config): exercise WouldCreate arm in fish legacy migration test (#2607)
Maximilian Roosbd119610301f
diff --git a/tests/integration_tests/configure_shell.rs b/tests/integration_tests/configure_shell.rsindex 51d894011..947b9a30e 100644--- a/tests/integration_tests/configure_shell.rs+++ b/tests/integration_tests/configure_shell.rs@@ -579,6 +579,7 @@ fn test_config_show_fish_legacy_with_functions_dir(mut repo: TestRepo, temp_homeset_temp_home_env(&mut cmd, temp_home.path());set_xdg_config_path(&mut cmd, temp_home.path());cmd.env("SHELL", "/bin/fish");+ cmd.env("WORKTRUNK_TEST_FISH_INSTALLED", "1");cmd.arg("config").arg("show").current_dir(repo.root_path());assert_cmd_snapshot!(cmd);diff --git a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snapindex 75e5d46f0..f51cc8c8f 100644--- a/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap+++ b/tests/snapshots/integration__integration_tests__configure_shell__config_show_fish_legacy_with_functions_dir.snap@@ -39,7 +39,7 @@ info:WORKTRUNK_TEST_CLAUDE_INSTALLED: "0"WORKTRUNK_TEST_DELAYED_STREAM_MS: "-1"WORKTRUNK_TEST_EPOCH: "1735776000"- WORKTRUNK_TEST_FISH_INSTALLED: "0"+ WORKTRUNK_TEST_FISH_INSTALLED: "1"WORKTRUNK_TEST_NUSHELL_ENV: "0"WORKTRUNK_TEST_OPENCODE_INSTALLED: "0"WORKTRUNK_TEST_POWERSHELL_ENV: "0"