(t *testing.T)
| 1521 | } |
| 1522 | |
| 1523 | func TestCommand_DefaultStdout(t *testing.T) { |
| 1524 | cmd := &Command{} |
| 1525 | cmd.setupDefaults([]string{"test"}) |
| 1526 | |
| 1527 | assert.Equal(t, cmd.Writer, os.Stdout, "Default output writer not set.") |
| 1528 | } |
| 1529 | |
| 1530 | func TestCommand_SetStdin(t *testing.T) { |
| 1531 | buf := make([]byte, 12) |
nothing calls this directly
no test coverage detected