(t *testing.T)
| 200 | } |
| 201 | |
| 202 | func TestMinimumNArgs_WithValidOnly_WithInvalidArgs(t *testing.T) { |
| 203 | c := getCommand(MatchAll(OnlyValidArgs, MinimumNArgs(2)), true) |
| 204 | _, err := executeCommand(c, "a", "b") |
| 205 | validOnlyWithInvalidArgs(err, t) |
| 206 | } |
| 207 | |
| 208 | func TestMinimumNArgs_WithLessArgs(t *testing.T) { |
| 209 | c := getCommand(MinimumNArgs(2), false) |
nothing calls this directly
no test coverage detected