(t *testing.T)
| 1943 | } |
| 1944 | |
| 1945 | func TestWait_ReturnsErrorPresentOnPipe(t *testing.T) { |
| 1946 | t.Parallel() |
| 1947 | p := script.Echo("a\nb\nc\n").ExecForEach("{{invalid template syntax}}") |
| 1948 | if p.Wait() == nil { |
| 1949 | t.Error("want error, got nil") |
| 1950 | } |
| 1951 | } |
| 1952 | |
| 1953 | func TestWait_DoesNotReturnErrorForValidExecution(t *testing.T) { |
| 1954 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…