(t *testing.T)
| 319 | } |
| 320 | |
| 321 | func TestExecForEach_ErrorsOnInvalidTemplateSyntax(t *testing.T) { |
| 322 | t.Parallel() |
| 323 | p := script.Echo("a\nb\nc\n").ExecForEach("{{invalid template syntax}}") |
| 324 | p.Wait() |
| 325 | if p.Error() == nil { |
| 326 | t.Error("want error with invalid template syntax") |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | func TestExecForEach_ErrorsOnUnbalancedQuotes(t *testing.T) { |
| 331 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…