diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-27 07:26:19 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-27 07:26:19 +0200 |
| commit | aac01f41e7247c05170ad4b4cb935da171a5ac97 (patch) | |
| tree | 82c2637ebb079c4ea592e5bab54139752dcf7861 /internal/askcli/completion_test.go | |
| parent | c4354f1985089366d673a89664d7428337d0e56c (diff) | |
Remove dead UUID completion items (61568dc2-6915-4444-8027-2ad4eacf2408)
Diffstat (limited to 'internal/askcli/completion_test.go')
| -rw-r--r-- | internal/askcli/completion_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/askcli/completion_test.go b/internal/askcli/completion_test.go index fe18ddc..9762975 100644 --- a/internal/askcli/completion_test.go +++ b/internal/askcli/completion_test.go @@ -35,6 +35,11 @@ func TestFishCompletion_IncludesCommandsAndExcludesExport(t *testing.T) { if strings.Contains(script, "assets/ask.fish") { t.Fatalf("script should not reference a static asset") } + for _, name := range []string{"info", "annotate", "start", "stop", "done", "priority", "tag", "modify", "denotate", "delete"} { + if strings.Contains(script, "complete -c ask -n '__ask_in_uuid_context' -a '"+name+"'") { + t.Fatalf("script should not hard-code UUID completion item %q", name) + } + } } func TestFishSingleSelectorCompletionContext(t *testing.T) { |
