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

Function TestCompletionCommand_LongHelp

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

Source from the content-addressed store, hash-verified

116}
117
118func TestCompletionCommand_LongHelp(t *testing.T) {
119 cmd := NewCompletionCommand()
120
121 assert.Contains(t, cmd.Long, "Tab completion provides")
122 assert.Contains(t, cmd.Long, "Command name completion")
123 assert.Contains(t, cmd.Long, "Workflow name completion")
124 assert.Contains(t, cmd.Long, "Engine name completion")
125 assert.Contains(t, cmd.Long, "bash, zsh, fish, PowerShell")
126}
127
128func TestCompletionCommand_Examples(t *testing.T) {
129 cmd := NewCompletionCommand()

Callers

nothing calls this directly

Calls 1

NewCompletionCommandFunction · 0.85

Tested by

no test coverage detected