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

Function TestSecretsCommandHelp

pkg/cli/secrets_command_test.go:43–49  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestSecretsCommandHelp(t *testing.T) {
44 cmd := NewSecretsCommand()
45
46 // Verify RunE returns help when command is run without subcommand
47 err := cmd.RunE(cmd, []string{})
48 assert.NoError(t, err, "Running secrets command without subcommand should show help without error")
49}
50
51func TestSecretsCommandStructure(t *testing.T) {
52 tests := []struct {

Callers

nothing calls this directly

Calls 1

NewSecretsCommandFunction · 0.85

Tested by

no test coverage detected