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

Function TestWithStdErr_IsConcurrencySafeAfterExec

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

Source from the content-addressed store, hash-verified

2064}
2065
2066func TestWithStdErr_IsConcurrencySafeAfterExec(t *testing.T) {
2067 t.Parallel()
2068 err := script.Exec("echo").WithStderr(nil).Wait()
2069 if err != nil {
2070 t.Fatal(err)
2071 }
2072}
2073
2074func TestHash_OutputsCorrectHash(t *testing.T) {
2075 t.Parallel()

Callers

nothing calls this directly

Calls 3

ExecFunction · 0.92
WaitMethod · 0.80
WithStderrMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…