MCPcopy
hub / github.com/urfave/cli / TestCommand_Setup_defaultsReader

Function TestCommand_Setup_defaultsReader

command_test.go:1099–1103  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1097}
1098
1099func TestCommand_Setup_defaultsReader(t *testing.T) {
1100 cmd := &Command{}
1101 cmd.setupDefaults([]string{"test"})
1102 assert.Equal(t, cmd.Reader, os.Stdin)
1103}
1104
1105func TestCommand_Setup_defaultsWriter(t *testing.T) {
1106 cmd := &Command{}

Callers

nothing calls this directly

Calls 1

setupDefaultsMethod · 0.95

Tested by

no test coverage detected