diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-13 14:05:38 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-13 14:05:38 +0300 |
| commit | 604f5aa7603498c4f7cc9a649a86d525b824e6c9 (patch) | |
| tree | 814adfdd098e1594b74cbda3396b06723a469d3b /internal/askcli/formatter_test.go | |
| parent | 00981e0d9cd0bc00c3e21ec0124ffbcc52b4762a (diff) | |
Release v0.33.0: ask dependency UX and start gating
Show only task alias IDs on ask info Depends lines. Block ask start
until every dependency is completed. Bump version to 0.33.0.
Made-with: Cursor
Diffstat (limited to 'internal/askcli/formatter_test.go')
| -rw-r--r-- | internal/askcli/formatter_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/askcli/formatter_test.go b/internal/askcli/formatter_test.go index e473ed4..9788430 100644 --- a/internal/askcli/formatter_test.go +++ b/internal/askcli/formatter_test.go @@ -195,9 +195,12 @@ func TestFormatTaskInfo(t *testing.T) { if !strings.Contains(output, "cli, agent") { t.Fatalf("FormatTaskInfo missing tags: %s", output) } - if !strings.Contains(output, "1 (dep-1)") || !strings.Contains(output, "2 (dep-2)") { + if !strings.Contains(output, "Depends: 1, 2") { t.Fatalf("FormatTaskInfo missing formatted depends: %s", output) } + if strings.Contains(output, "dep-1") || strings.Contains(output, "dep-2") { + t.Fatalf("FormatTaskInfo should not list dependency UUIDs when aliases exist: %s", output) + } if !strings.Contains(output, "First note") { t.Fatalf("FormatTaskInfo missing annotation: %s", output) } |
