(t *testing.T)
| 134 | } |
| 135 | |
| 136 | func TestExecutor_ConfigureOutputs_WithOutput(t *testing.T) { |
| 137 | executor := NewExecutor("test", "echo") |
| 138 | execCmd := exec.Command("echo") |
| 139 | var buf fileio.LockedBuffer |
| 140 | |
| 141 | executor.configureOutputs(execCmd, nil, &buf) |
| 142 | |
| 143 | if execCmd.Stdout == nil { |
| 144 | t.Error("stdout should not be nil") |
| 145 | } |
| 146 | if execCmd.Stderr == nil { |
| 147 | t.Error("stderr should not be nil") |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | func TestExecutor_ConfigureOutputs_WithLogFile(t *testing.T) { |
| 152 | tmpDir := t.TempDir() |
nothing calls this directly
no test coverage detected