diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-22 19:52:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-22 19:52:08 +0200 |
| commit | 9a6f6c0b747cee47eb61220d94a5fb7aaadd0e2b (patch) | |
| tree | 16fa1b8a4904ddfad1cedfebfd7bcf57fa1291b9 /internal/askcli/dispatch_test.go | |
| parent | 23e9ab91c1e18f889eac4c0c5d5fd9daaeff7f0d (diff) | |
Implement 'ask urgency' subcommand: export tasks, sort by urgency descending, format as UUID table
Diffstat (limited to 'internal/askcli/dispatch_test.go')
| -rw-r--r-- | internal/askcli/dispatch_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
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} |
