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

Function TestChecksCommand_RejectsMultipleArgs

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

Source from the content-addressed store, hash-verified

236}
237
238func TestChecksCommand_RejectsMultipleArgs(t *testing.T) {
239 cmd := NewChecksCommand()
240 err := cmd.Args(cmd, []string{"42", "43"})
241 assert.Error(t, err, "checks command should reject more than one argument")
242}
243
244// ---------------------------------------------------------------------------
245// ChecksResult JSON serialization

Callers

nothing calls this directly

Calls 2

NewChecksCommandFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected