(t *testing.T)
| 268 | } |
| 269 | |
| 270 | func TestMaximumNArgs_WithMoreArgs_WithValid_WithInvalidArgs(t *testing.T) { |
| 271 | c := getCommand(MaximumNArgs(2), true) |
| 272 | _, err := executeCommand(c, "a", "b", "c") |
| 273 | maximumNArgsWithMoreArgs(err, t) |
| 274 | } |
| 275 | |
| 276 | func TestMaximumNArgs_WithMoreArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 277 | c := getCommand(MatchAll(OnlyValidArgs, MaximumNArgs(2)), true) |
nothing calls this directly
no test coverage detected