(t *testing.T)
| 350 | } |
| 351 | |
| 352 | func TestRangeArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 353 | c := getCommand(MatchAll(OnlyValidArgs, RangeArgs(2, 4)), true) |
| 354 | _, err := executeCommand(c, "three", "a", "two") |
| 355 | validOnlyWithInvalidArgs(err, t) |
| 356 | } |
| 357 | |
| 358 | func TestRangeArgs_WithInvalidCount(t *testing.T) { |
| 359 | c := getCommand(RangeArgs(2, 4), false) |
nothing calls this directly
no test coverage detected