Сокращён вывод результатов

Этот коммит содержится в:
Softonik 2025-06-01 16:18:54 +03:00
родитель ffcc5b10ae
коммит be71a25341
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -173,7 +173,7 @@ func (f *Base) Summary() {
if totalSc == 0 {
fmt.Fprintln(f.out, "No scenarios")
} else {
fmt.Fprintf(f.out, "%d scenarios (%s)\n", totalSc, strings.Join(scenarios, ", "))
fmt.Fprintf(f.out, "%d scenarios (%s), ", totalSc, strings.Join(scenarios, ", "))
}
if totalSt == 0 {

Просмотреть файл

@ -236,7 +236,7 @@ func (f *Pretty) Summary() {
fmt.Fprintln(f.out, s(f.indent)+red(scenarioDesc)+line(feature.Uri, astScenario.Location))
fmt.Fprintln(f.out, s(f.indent*2)+red(stepDesc)+line(feature.Uri, astStep.Location))
fmt.Fprintln(f.out, s(f.indent*3)+red("Error: ")+redb(fmt.Sprintf("%+v", fail.Err))+"\n")
fmt.Fprint(f.out, s(f.indent*3)+red("Error: ")+redb(fmt.Sprintf("%+v", fail.Err)))
}
}