(t *testing.T)
| 1514 | } |
| 1515 | |
| 1516 | func TestCommand_DefaultStdin(t *testing.T) { |
| 1517 | cmd := &Command{} |
| 1518 | cmd.setupDefaults([]string{"test"}) |
| 1519 | |
| 1520 | assert.Equal(t, cmd.Reader, os.Stdin, "Default input reader not set.") |
| 1521 | } |
| 1522 | |
| 1523 | func TestCommand_DefaultStdout(t *testing.T) { |
| 1524 | cmd := &Command{} |
nothing calls this directly
no test coverage detected