(t *testing.T)
| 262 | } |
| 263 | |
| 264 | func TestMaximumNArgs_WithMoreArgs_WithValid(t *testing.T) { |
| 265 | c := getCommand(MaximumNArgs(2), true) |
| 266 | _, err := executeCommand(c, "one", "three", "two") |
| 267 | maximumNArgsWithMoreArgs(err, t) |
| 268 | } |
| 269 | |
| 270 | func TestMaximumNArgs_WithMoreArgs_WithValid_WithInvalidArgs(t *testing.T) { |
| 271 | c := getCommand(MaximumNArgs(2), true) |
nothing calls this directly
no test coverage detected