(t *testing.T)
| 250 | } |
| 251 | |
| 252 | func TestMaximumNArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 253 | c := getCommand(MatchAll(OnlyValidArgs, MaximumNArgs(2)), true) |
| 254 | _, err := executeCommand(c, "a", "b") |
| 255 | validOnlyWithInvalidArgs(err, t) |
| 256 | } |
| 257 | |
| 258 | func TestMaximumNArgs_WithMoreArgs(t *testing.T) { |
| 259 | c := getCommand(MaximumNArgs(2), false) |
nothing calls this directly
no test coverage detected