Something went wrong. Try again.
Kagi Mail CLI client
Something went wrong. Try again.
1234567891011121314151617package cmd
import "testing"
func TestCompletionShells(t *testing.T) { for _, sh := range []string{"bash", "zsh", "fish", "powershell"} { e := newTestEnv(t, false) if out := e.mustRun("completion", sh); len(out) < 100 { t.Errorf("%s: output too short: %q", sh, out) } } e := newTestEnv(t, false) if code := e.run("completion", "tcsh"); code != ExitUsage { t.Errorf("unknown shell: exit %d", code) }}