(t *testing.T)
| 506 | } |
| 507 | |
| 508 | func TestExactValidArgs_WithInvalidArgs(t *testing.T) { |
| 509 | c := getCommand(ExactValidArgs(2), true) |
| 510 | _, err := executeCommand(c, "three", "a") |
| 511 | validOnlyWithInvalidArgs(err, t) |
| 512 | } |
| 513 | |
| 514 | // This test make sure we keep backwards-compatibility with respect |
| 515 | // to the legacyArgs() function. |
nothing calls this directly
no test coverage detected