(t *testing.T)
| 256 | } |
| 257 | |
| 258 | func TestMaximumNArgs_WithMoreArgs(t *testing.T) { |
| 259 | c := getCommand(MaximumNArgs(2), false) |
| 260 | _, err := executeCommand(c, "a", "b", "c") |
| 261 | maximumNArgsWithMoreArgs(err, t) |
| 262 | } |
| 263 | |
| 264 | func TestMaximumNArgs_WithMoreArgs_WithValid(t *testing.T) { |
| 265 | c := getCommand(MaximumNArgs(2), true) |
nothing calls this directly
no test coverage detected