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

Function TestExitStatusForInvalidSubcommand

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

Source from the content-addressed store, hash-verified

88}
89
90func TestExitStatusForInvalidSubcommand(t *testing.T) {
91 err := runCliCommand(t, nil, nil, "invalid")
92 assert.Check(t, is.ErrorContains(err, "docker: unknown command: docker invalid"))
93}
94
95func TestVersion(t *testing.T) {
96 var b bytes.Buffer

Callers

nothing calls this directly

Calls 1

runCliCommandFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…