(t *testing.T)
| 238 | } |
| 239 | |
| 240 | func TestMaximumNArgs_WithValid(t *testing.T) { |
| 241 | c := getCommand(MaximumNArgs(2), true) |
| 242 | output, err := executeCommand(c, "one", "three") |
| 243 | expectSuccess(output, err, t) |
| 244 | } |
| 245 | |
| 246 | func TestMaximumNArgs_WithValid_WithInvalidArgs(t *testing.T) { |
| 247 | c := getCommand(MaximumNArgs(2), true) |
nothing calls this directly
no test coverage detected