(t *testing.T)
| 88 | } |
| 89 | |
| 90 | func 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 | |
| 95 | func TestVersion(t *testing.T) { |
| 96 | var b bytes.Buffer |
nothing calls this directly
no test coverage detected
searching dependent graphs…