diff --git a/internal/formatters/fmt_base.go b/internal/formatters/fmt_base.go index 6e492e4..e94a189 100644 --- a/internal/formatters/fmt_base.go +++ b/internal/formatters/fmt_base.go @@ -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 { diff --git a/internal/formatters/fmt_pretty.go b/internal/formatters/fmt_pretty.go index 9e26dee..2289f68 100644 --- a/internal/formatters/fmt_pretty.go +++ b/internal/formatters/fmt_pretty.go @@ -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))) } }