diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-22 19:47:52 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-22 19:47:52 +0200 |
| commit | 23e9ab91c1e18f889eac4c0c5d5fd9daaeff7f0d (patch) | |
| tree | 02966f7d2ff099f8d3d0cf4c33478b367e98ae53 /internal/askcli/dispatch_test.go | |
| parent | 97cb0462aad67bf1e9558b340f5ef2f5a72eb662 (diff) | |
Implement write subcommands: annotate, start, stop, done, priority, tag, modify, denotate
Diffstat (limited to 'internal/askcli/dispatch_test.go')
| -rw-r--r-- | internal/askcli/dispatch_test.go | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/internal/askcli/dispatch_test.go b/internal/askcli/dispatch_test.go index d2a4e52..0d06299 100644 --- a/internal/askcli/dispatch_test.go +++ b/internal/askcli/dispatch_test.go @@ -59,9 +59,17 @@ func TestDispatcher_LongHelp(t *testing.T) { } func TestDispatcher_AllSubcommandsReachExecutor(t *testing.T) { - subcommands := []string{"add", "list", "info", "annotate", "start", "stop", "done", "priority", "tag", "dep", "urgency", "modify", "denotate", "export"} + subcommands := []string{"add", "list", "info", "dep", "urgency", "export"} subcommandArgs := map[string][]string{ - "delete": {"delete", "test-uuid"}, + "delete": {"delete", "test-uuid"}, + "denotate": {"denotate", "test-uuid", "text"}, + "modify": {"modify", "test-uuid", "priority:H"}, + "annotate": {"annotate", "test-uuid", "note"}, + "start": {"start", "test-uuid"}, + "stop": {"stop", "test-uuid"}, + "done": {"done", "test-uuid"}, + "priority": {"priority", "test-uuid", "H"}, + "tag": {"tag", "test-uuid", "+cli"}, } for _, sub := range subcommands { var stdout, stderr bytes.Buffer |
