MCPcopy Create free account
hub / github.com/github/gh-aw / TestCompletionCommand_Examples

Function TestCompletionCommand_Examples

pkg/cli/completion_command_test.go:128–137  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

126}
127
128func TestCompletionCommand_Examples(t *testing.T) {
129 cmd := NewCompletionCommand()
130
131 // Verify examples are present for all shells
132 assert.Contains(t, cmd.Example, "gh aw completion install")
133 assert.Contains(t, cmd.Example, "gh aw completion bash")
134 assert.Contains(t, cmd.Example, "gh aw completion zsh")
135 assert.Contains(t, cmd.Example, "gh aw completion fish")
136 assert.Contains(t, cmd.Example, "gh aw completion powershell")
137}
138
139func TestCompletionCommand_ValidArgs(t *testing.T) {
140 cmd := NewCompletionCommand()

Callers

nothing calls this directly

Calls 1

NewCompletionCommandFunction · 0.85

Tested by

no test coverage detected