summaryrefslogtreecommitdiff
path: root/internal/hexaiaction/custom_action_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-16 08:39:52 +0300
committerPaul Buetow <paul@buetow.org>2025-09-16 08:39:52 +0300
commit2b6232704ecc90630196b9f829f966533e5cdccd (patch)
tree7d6db2f618faeb590b00e1f45ddf17f47b68beaa /internal/hexaiaction/custom_action_test.go
parentf645911896634752d55fad50d52365c0255bb279 (diff)
release: v0.11.0 – context-aware in-editor chat; respect general.context_mode; stabilize env-dependent testsv0.11.0
Diffstat (limited to 'internal/hexaiaction/custom_action_test.go')
-rw-r--r--internal/hexaiaction/custom_action_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/hexaiaction/custom_action_test.go b/internal/hexaiaction/custom_action_test.go
index 71319f4..4808079 100644
--- a/internal/hexaiaction/custom_action_test.go
+++ b/internal/hexaiaction/custom_action_test.go
@@ -20,6 +20,8 @@ func (llmFake2) Name() string { return "fake" }
func (llmFake2) DefaultModel() string { return "m" }
func TestActionCustom_UsesEditorPrompt(t *testing.T) {
+ // Isolate from user config that might enable custom menu/TUI.
+ t.Setenv("XDG_CONFIG_HOME", t.TempDir())
// Seam: choose custom, fake client, and fake editor
oldChoose := chooseActionFn
oldNew := newClientFromApp