From b349e3adac6894d8f46fb80d94ff98fddef7a73a Mon Sep 17 00:00:00 2001 From: Yvonnick Esnault Date: Wed, 7 Oct 2020 13:56:35 +0200 Subject: [PATCH] fix: do not truncate filename in results (#273) close #254 Signed-off-by: Yvonnick Esnault --- process_testsuite.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/process_testsuite.go b/process_testsuite.go index 19def825..9fed0fad 100644 --- a/process_testsuite.go +++ b/process_testsuite.go @@ -70,12 +70,12 @@ func (v *Venom) runTestSuite(ts *TestSuite) { var o string if ts.Failures > 0 || ts.Errors > 0 { red := color.New(color.FgRed).SprintFunc() - o = fmt.Sprintf("%s %s", red("FAILURE"), rightPad(ts.Package, " ", 47)) + o = fmt.Sprintf("%s %s", red("FAILURE"), ts.Package) } else { green := color.New(color.FgGreen).SprintFunc() - o = fmt.Sprintf("%s %s", green("SUCCESS"), rightPad(ts.Package, " ", 47)) + o = fmt.Sprintf("%s %s", green("SUCCESS"), ts.Package) } - o += fmt.Sprintf("%s", elapsed) + o += fmt.Sprintf(" %s", elapsed) v.PrintFunc("%s\n", o) }