summaryrefslogtreecommitdiff
path: root/internal/askcli/command_write_test.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-23 07:49:11 +0200
committerPaul Buetow <paul@buetow.org>2026-03-23 07:49:11 +0200
commitdf8b13739eea6a763d9e3e1bdbf92fa0ffb95296 (patch)
treed8a2064f530d5fc998055cd05de6076ae59e2e92 /internal/askcli/command_write_test.go
parent778ea7ccdd84425944dda9b717de4ca330c5d0fc (diff)
integrationtests: complete ask coverage, fix weak assertions
- TestAnnotate: now verifies annotation text appears in ask info output - TestDenotate: now verifies annotation is absent after removal - TestMain: always rebuilds binary (not only when missing) - Add TestAddReturnsUUID: asserts output matches UUID regex, never numeric - Add TestHelp: verifies ask help exits 0 and lists all subcommands - Add TestUnknownCommand: verifies unknown subcommand exits non-zero - Remove unnecessary runAskWithStdin calls for commands that don't forward stdin to taskwarrior (start, stop, priority, tag, modify, annotate, dep add/rm); only delete actually needs stdin forwarding - Add getTaskInfoRaw helper for full info text assertions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/askcli/command_write_test.go')
0 files changed, 0 insertions, 0 deletions