(t *testing.T)
| 192 | } |
| 193 | |
| 194 | func TestExecutor_WithRetry(t *testing.T) { |
| 195 | executor := NewExecutor("title", "cmd").WithRetry(3) |
| 196 | if executor.retryMaxAttempts != 3 { |
| 197 | t.Errorf("retryMaxAttempts = %d, want 3", executor.retryMaxAttempts) |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | func TestExecutor_WithRetry_Default(t *testing.T) { |
| 202 | executor := NewExecutor("title", "cmd") |
nothing calls this directly
no test coverage detected