(step verify.StepResult, r *lipgloss.Renderer)
| 183 | } |
| 184 | |
| 185 | func printFailureOutput(step verify.StepResult, r *lipgloss.Renderer) { |
| 186 | printDimLines := func(s string) { |
| 187 | for _, line := range strings.Split(strings.TrimRight(s, "\n"), "\n") { |
| 188 | fmt.Printf(" %s\n", formatDim(line, r)) |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | if step.Stdout != "" { |
| 193 | printDimLines(step.Stdout) |
| 194 | } |
| 195 | if step.Stderr != "" { |
| 196 | printDimLines(step.Stderr) |
| 197 | } |
| 198 | } |
| 199 | |
| 200 | func verifySummaryLine(result *verify.Result, r *lipgloss.Renderer) string { |
| 201 | var parts []string |
no test coverage detected