summaryrefslogtreecommitdiff
path: root/internal/cli/pager_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/pager_test.go')
-rw-r--r--internal/cli/pager_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/cli/pager_test.go b/internal/cli/pager_test.go
index 3882162..4850e5e 100644
--- a/internal/cli/pager_test.go
+++ b/internal/cli/pager_test.go
@@ -97,7 +97,8 @@ func TestIsTerminalWriterBuffer(t *testing.T) {
func TestPagerFlagDoesNotBreakBufferOutput(t *testing.T) {
t.Setenv("XDG_CONFIG_HOME", t.TempDir())
var out, errb bytes.Buffer
- code := Run([]string{"-P", "-o", "-l", "trad"}, nil, &out, &errb)
+ // (The former -o/--offline flag is gone: the daily view is always offline.)
+ code := Run([]string{"-P", "-l", "trad", "2026-07-22"}, nil, &out, &errb)
if code != 0 && code != 1 {
t.Fatalf("-P run code=%d (stderr=%q)", code, errb.String())
}