| 50 | var _ xunix.Cmd = &FakeCmd{} |
| 51 | |
| 52 | type FakeCmd struct { |
| 53 | *testexec.FakeCmd |
| 54 | FakeProcess *os.Process |
| 55 | WaitFn func() error |
| 56 | Called bool |
| 57 | } |
| 58 | |
| 59 | func (f *FakeCmd) Wait() error { |
| 60 | if f.WaitFn == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected