| 15 | var _ xunix.Execer = &FakeExec{} |
| 16 | |
| 17 | type FakeExec struct { |
| 18 | Commands map[string]*FakeCmd |
| 19 | DefaultFakeCmd *FakeCmd |
| 20 | } |
| 21 | |
| 22 | func cmdKey(cmd string, args ...string) string { |
| 23 | return cmd + " " + strings.Join(args, " ") |
nothing calls this directly
no outgoing calls
no test coverage detected