ExactArgs
(t *testing.T)
| 282 | // ExactArgs |
| 283 | |
| 284 | func TestExactArgs(t *testing.T) { |
| 285 | c := getCommand(ExactArgs(3), false) |
| 286 | output, err := executeCommand(c, "a", "b", "c") |
| 287 | expectSuccess(output, err, t) |
| 288 | } |
| 289 | |
| 290 | func TestExactArgs_WithValid(t *testing.T) { |
| 291 | c := getCommand(ExactArgs(3), true) |
nothing calls this directly
no test coverage detected