summaryrefslogtreecommitdiff
path: root/cmd/hexai-tmux-action/main_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-25 08:49:02 +0300
committerPaul Buetow <paul@buetow.org>2026-04-25 08:49:02 +0300
commite33cd60277bc717ad7a8c73cf01c7bedad0d1837 (patch)
treecf3e72b6e16223a207883c7049ae200ac57aee2d /cmd/hexai-tmux-action/main_test.go
parentcaa7876ac8bdb5cc23e12db4d4cb65cf86861151 (diff)
Release v0.35.0: fix-typos action and tmux popup for hexai-tmux-actionv0.35.0
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'cmd/hexai-tmux-action/main_test.go')
-rw-r--r--cmd/hexai-tmux-action/main_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/hexai-tmux-action/main_test.go b/cmd/hexai-tmux-action/main_test.go
index 8abd420..c2cc95f 100644
--- a/cmd/hexai-tmux-action/main_test.go
+++ b/cmd/hexai-tmux-action/main_test.go
@@ -21,7 +21,7 @@ func TestRun_DelegatesToRunCommand(t *testing.T) {
opts := actionOptions{
infile: "in.txt", outfile: "out.txt",
- tmuxSplit: "h", tmuxPercent: 50,
+ tmuxPopupWidth: "90%", tmuxPopupHeight: "70%",
}
if err := run(opts, nil, nil, nil); err != nil {
t.Fatalf("run: %v", err)
@@ -29,7 +29,7 @@ func TestRun_DelegatesToRunCommand(t *testing.T) {
if gotOpts.Infile != "in.txt" || gotOpts.Outfile != "out.txt" {
t.Fatalf("unexpected opts: %+v", gotOpts)
}
- if gotOpts.TmuxSplit != "h" || gotOpts.TmuxPercent != 50 {
+ if gotOpts.TmuxPopupWidth != "90%" || gotOpts.TmuxPopupHeight != "70%" {
t.Fatalf("unexpected tmux opts: %+v", gotOpts)
}
}
@@ -42,7 +42,7 @@ func TestRun_WithConfigPath(t *testing.T) {
return nil
}
- opts := actionOptions{configPath: " /tmp/test.toml ", tmuxSplit: "v", tmuxPercent: 33}
+ opts := actionOptions{configPath: " /tmp/test.toml "}
if err := run(opts, nil, nil, nil); err != nil {
t.Fatalf("run: %v", err)
}