()
| 65 | } |
| 66 | |
| 67 | func (b *stdBuffers) String() string { |
| 68 | s := []string{} |
| 69 | if b.Stderr != nil { |
| 70 | s = append(s, b.Stderr.String()) |
| 71 | } |
| 72 | if b.Stdout != nil { |
| 73 | s = append(s, b.Stdout.String()) |
| 74 | } |
| 75 | return strings.Join(s, "|") |
| 76 | } |
| 77 | |
| 78 | // ok fails the test if an err is not nil. |
| 79 | func ok(t testing.TB, err error) { |
no outgoing calls
no test coverage detected