MaximumNArgs
(t *testing.T)
| 232 | // MaximumNArgs |
| 233 | |
| 234 | func TestMaximumNArgs(t *testing.T) { |
| 235 | c := getCommand(MaximumNArgs(3), false) |
| 236 | output, err := executeCommand(c, "a", "b") |
| 237 | expectSuccess(output, err, t) |
| 238 | } |
| 239 | |
| 240 | func TestMaximumNArgs_WithValid(t *testing.T) { |
| 241 | c := getCommand(MaximumNArgs(2), true) |
nothing calls this directly
no test coverage detected