summaryrefslogtreecommitdiff
path: root/internal/hexaicli/run_editor_behavior_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/hexaicli/run_editor_behavior_test.go')
-rw-r--r--internal/hexaicli/run_editor_behavior_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/hexaicli/run_editor_behavior_test.go b/internal/hexaicli/run_editor_behavior_test.go
index a934473..99a2f2d 100644
--- a/internal/hexaicli/run_editor_behavior_test.go
+++ b/internal/hexaicli/run_editor_behavior_test.go
@@ -25,7 +25,7 @@ func TestRun_DoesNotOpenEditorWhenStdinPresent(t *testing.T) {
// Guard: make editor invocation fatal if called
oldRunEd := editor.RunEditor
defer func() { editor.RunEditor = oldRunEd }()
- editor.RunEditor = func(_ string, _ string) error {
+ editor.RunEditor = func(_ context.Context, _ string, _ string) error {
t.Fatalf("editor should not be invoked when stdin has content")
return nil
}