(t *testing.T)
| 328 | } |
| 329 | |
| 330 | func TestExecForEach_ErrorsOnUnbalancedQuotes(t *testing.T) { |
| 331 | t.Parallel() |
| 332 | p := script.Echo("a\nb\nc\n").ExecForEach("echo \"{{.}}") |
| 333 | p.Wait() |
| 334 | if p.Error() == nil { |
| 335 | t.Error("want error with unbalanced quotes in command line") |
| 336 | } |
| 337 | } |
| 338 | |
| 339 | func TestExecForEach_SendsStderrOutputToPipeStderr(t *testing.T) { |
| 340 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…