(p []byte)
| 91 | } |
| 92 | |
| 93 | func (b *syncBuffer) Write(p []byte) (n int, err error) { |
| 94 | b.L.Lock() |
| 95 | defer b.L.Unlock() |
| 96 | return b.b.Write(p) |
| 97 | } |
| 98 | |
| 99 | func TestCommandRunNoWait(t *testing.T) { |
| 100 | ctx := context.Background() |
no outgoing calls
no test coverage detected