(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func TestCommand_noCommandArg(t *testing.T) { |
| 14 | StubCommandLineArgs() |
| 15 | err := command() |
| 16 | assert.Equal(t, "unknown command: ", err.Error()) |
| 17 | } |
| 18 | |
| 19 | func TestCommand_badCommandArg(t *testing.T) { |
| 20 | StubCommandLineArgs("doesnotexist") |
nothing calls this directly
no test coverage detected