MCPcopy
hub / github.com/bitfield/script / TestWait_DoesNotReturnErrorForValidExecution

Function TestWait_DoesNotReturnErrorForValidExecution

script_test.go:1953–1959  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1951}
1952
1953func TestWait_DoesNotReturnErrorForValidExecution(t *testing.T) {
1954 t.Parallel()
1955 p := script.Echo("a\nb\nc\n").ExecForEach("echo \"{{.}}\"")
1956 if err := p.Wait(); err != nil {
1957 t.Fatal(err)
1958 }
1959}
1960
1961var base64Cases = []struct {
1962 name string

Callers

nothing calls this directly

Calls 3

EchoFunction · 0.92
ExecForEachMethod · 0.80
WaitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…