MCPcopy Create free account
hub / github.com/github/gh-aw / TestChecksCommand_AcceptsOneArg

Function TestChecksCommand_AcceptsOneArg

pkg/cli/checks_command_test.go:232–236  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

230}
231
232func TestChecksCommand_AcceptsOneArg(t *testing.T) {
233 cmd := NewChecksCommand()
234 err := cmd.Args(cmd, []string{"42"})
235 assert.NoError(t, err, "checks command should accept exactly one argument")
236}
237
238func TestChecksCommand_RejectsMultipleArgs(t *testing.T) {
239 cmd := NewChecksCommand()

Callers

nothing calls this directly

Calls 1

NewChecksCommandFunction · 0.85

Tested by

no test coverage detected