(t *testing.T)
| 300 | } |
| 301 | |
| 302 | func TestExactArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 303 | c := getCommand(MatchAll(OnlyValidArgs, ExactArgs(3)), true) |
| 304 | _, err := executeCommand(c, "three", "a", "two") |
| 305 | validOnlyWithInvalidArgs(err, t) |
| 306 | } |
| 307 | |
| 308 | func TestExactArgs_WithInvalidCount(t *testing.T) { |
| 309 | c := getCommand(ExactArgs(2), false) |
nothing calls this directly
no test coverage detected