MCPcopy Index your code
hub / github.com/docker/cli / TestExitStatusForInvalidSubcommandWithHelpFlag

Function TestExitStatusForInvalidSubcommandWithHelpFlag

cmd/docker/docker_test.go:85–88  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

83}
84
85func TestExitStatusForInvalidSubcommandWithHelpFlag(t *testing.T) {
86 err := runCliCommand(t, nil, nil, "help", "invalid")
87 assert.Error(t, err, "unknown help topic: invalid")
88}
89
90func TestExitStatusForInvalidSubcommand(t *testing.T) {
91 err := runCliCommand(t, nil, nil, "invalid")

Callers

nothing calls this directly

Calls 2

runCliCommandFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…