MCPcopy
hub / github.com/spf13/cobra / TestNoArgs_WithValid_WithArgs

Function TestNoArgs_WithValid_WithArgs

args_test.go:124–128  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

122}
123
124func TestNoArgs_WithValid_WithArgs(t *testing.T) {
125 c := getCommand(NoArgs, true)
126 _, err := executeCommand(c, "one")
127 noArgsWithArgs(err, t, "one")
128}
129
130func TestNoArgs_WithValid_WithInvalidArgs(t *testing.T) {
131 c := getCommand(NoArgs, true)

Callers

nothing calls this directly

Calls 3

getCommandFunction · 0.85
executeCommandFunction · 0.85
noArgsWithArgsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…