(output []byte)
| 916 | } |
| 917 | |
| 918 | func outputLines(output []byte) []string { |
| 919 | lines := strings.TrimSuffix(string(output), "\n") |
| 920 | return strings.Split(lines, "\n") |
| 921 | } |
| 922 | |
| 923 | func firstLine(output []byte) string { |
| 924 | if i := bytes.IndexAny(output, "\n"); i >= 0 { |
no outgoing calls
no test coverage detected