(t *testing.T)
| 83 | } |
| 84 | |
| 85 | func TestExitStatusForInvalidSubcommandWithHelpFlag(t *testing.T) { |
| 86 | err := runCliCommand(t, nil, nil, "help", "invalid") |
| 87 | assert.Error(t, err, "unknown help topic: invalid") |
| 88 | } |
| 89 | |
| 90 | func TestExitStatusForInvalidSubcommand(t *testing.T) { |
| 91 | err := runCliCommand(t, nil, nil, "invalid") |
nothing calls this directly
no test coverage detected
searching dependent graphs…