(t *testing.T)
| 194 | } |
| 195 | |
| 196 | func TestMinimumNArgs_WithValid__WithInvalidArgs(t *testing.T) { |
| 197 | c := getCommand(MinimumNArgs(2), true) |
| 198 | output, err := executeCommand(c, "a", "b") |
| 199 | expectSuccess(output, err, t) |
| 200 | } |
| 201 | |
| 202 | func TestMinimumNArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 203 | c := getCommand(MatchAll(OnlyValidArgs, MinimumNArgs(2)), true) |
nothing calls this directly
no test coverage detected