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

Function TestNewDeployCommand_BasicShape

pkg/cli/deploy_command_test.go:17–22  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

15)
16
17func TestNewDeployCommand_BasicShape(t *testing.T) {
18 cmd := NewDeployCommand(func(string) error { return nil })
19 require.NotNil(t, cmd)
20 assert.Equal(t, "deploy <workflow>...", cmd.Use)
21 assert.Equal(t, "deploy", cmd.Name())
22}
23
24func TestNewDeployCommand_RequiresWorkflowArg(t *testing.T) {
25 cmd := NewDeployCommand(func(string) error { return nil })

Callers

nothing calls this directly

Calls 1

NewDeployCommandFunction · 0.85

Tested by

no test coverage detected