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