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

Function TestExperimentsAnalyzeRequiresArg

pkg/cli/experiments_command_test.go:331–337  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

329}
330
331func TestExperimentsAnalyzeRequiresArg(t *testing.T) {
332 cmd := NewExperimentsAnalyzeSubcommand()
333 require.NotNil(t, cmd, "analyze subcommand should be created")
334
335 err := cmd.Args(cmd, []string{})
336 assert.Error(t, err, "analyze should require exactly 1 argument")
337}

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.45

Tested by

no test coverage detected