From 9a6f6c0b747cee47eb61220d94a5fb7aaadd0e2b Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 22 Mar 2026 19:52:08 +0200 Subject: Implement 'ask urgency' subcommand: export tasks, sort by urgency descending, format as UUID table --- internal/askcli/dispatch_test.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/askcli/dispatch_test.go') diff --git a/internal/askcli/dispatch_test.go b/internal/askcli/dispatch_test.go index 0d06299..8631f4c 100644 --- a/internal/askcli/dispatch_test.go +++ b/internal/askcli/dispatch_test.go @@ -76,6 +76,9 @@ func TestDispatcher_AllSubcommandsReachExecutor(t *testing.T) { calls := 0 d := NewDispatcher(&spyRunner{runFn: func(ctx context.Context, args []string, stdin io.Reader, stdout_, stderr_ io.Writer) (int, error) { calls++ + if args[0] == "export" { + io.WriteString(stdout_, "[]") + } return 0, nil }}) args := []string{sub} -- cgit v1.2.3