summaryrefslogtreecommitdiff
path: root/internal/tui/tui_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-26 23:47:16 +0200
committerPaul Buetow <paul@buetow.org>2026-02-26 23:47:16 +0200
commit34e70c9cd76b0231cfff3910bb24708624d7c72d (patch)
treed17c70b4b1f467ba72fe238d9b1656c1dde564a2 /internal/tui/tui_test.go
parentdcdfbcc0a2ee9750e48a8db74b4ca70fdac2f9c6 (diff)
tui: clarify export help and toggle help bar with uppercase H
Diffstat (limited to 'internal/tui/tui_test.go')
-rw-r--r--internal/tui/tui_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/tui/tui_test.go b/internal/tui/tui_test.go
index 7fd909a..b0e1861 100644
--- a/internal/tui/tui_test.go
+++ b/internal/tui/tui_test.go
@@ -496,8 +496,8 @@ func TestViewShowsDashboardWithoutHelpOverlay(t *testing.T) {
m.height = 30
out := m.View()
- if !strings.Contains(out, "tab next tab") {
- t.Fatalf("expected status/help bar keybinding text in dashboard")
+ if !strings.Contains(out, "press H for help") {
+ t.Fatalf("expected bottom help hint in dashboard")
}
}
@@ -548,7 +548,7 @@ func TestStatusBarHidesExportBindingWhenExportDisabled(t *testing.T) {
m.height = 30
out := m.View()
- if strings.Contains(out, "e export") {
+ if strings.Contains(out, "e snapshot export") {
t.Fatalf("did not expect export shortcut in status bar when export is disabled")
}
}