MinimumNArgs
(t *testing.T)
| 182 | // MinimumNArgs |
| 183 | |
| 184 | func TestMinimumNArgs(t *testing.T) { |
| 185 | c := getCommand(MinimumNArgs(2), false) |
| 186 | output, err := executeCommand(c, "a", "b", "c") |
| 187 | expectSuccess(output, err, t) |
| 188 | } |
| 189 | |
| 190 | func TestMinimumNArgs_WithValid(t *testing.T) { |
| 191 | c := getCommand(MinimumNArgs(2), true) |
nothing calls this directly
no test coverage detected