(t *testing.T)
| 120 | } |
| 121 | |
| 122 | func TestExecutor_ConfigureOutputs_NilOutput(t *testing.T) { |
| 123 | executor := NewExecutor("test", "echo") |
| 124 | execCmd := exec.Command("echo") |
| 125 | |
| 126 | executor.configureOutputs(execCmd, nil, nil) |
| 127 | |
| 128 | if execCmd.Stdout == nil { |
| 129 | t.Error("stdout should not be nil") |
| 130 | } |
| 131 | if execCmd.Stderr == nil { |
| 132 | t.Error("stderr should not be nil") |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | func TestExecutor_ConfigureOutputs_WithOutput(t *testing.T) { |
| 137 | executor := NewExecutor("test", "echo") |
nothing calls this directly
no test coverage detected