(output bytes.Buffer)
| 168 | } |
| 169 | |
| 170 | func lastLine(output bytes.Buffer) string { |
| 171 | lines := strings.Split(output.String(), "\r") |
| 172 | return lines[len(lines)-1] |
| 173 | } |
| 174 | |
| 175 | func data(length int) io.Reader { |
| 176 | data := make([]byte, length) |
no test coverage detected