(t *testing.T)
| 17 | } |
| 18 | |
| 19 | func TestCommand_badCommandArg(t *testing.T) { |
| 20 | StubCommandLineArgs("doesnotexist") |
| 21 | err := command() |
| 22 | assert.Equal(t, "unknown command: doesnotexist", err.Error()) |
| 23 | } |
| 24 | |
| 25 | func TestCommand_link_noArgs(t *testing.T) { |
| 26 | StubCommandLineArgs("link") |
nothing calls this directly
no test coverage detected