chore: bump golangci-lint from v1.24 to v1.39

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
This commit is contained in:
Yoan Blanc
2021-04-03 09:50:23 +02:00
parent 3db2f2f9f5
commit a814f0253f
19 changed files with 28 additions and 27 deletions

View File

@@ -218,7 +218,7 @@ func (r *TestReport) Summary() string {
fmt.Fprintf(w, "[%s]\t\t↳\t%s\t (%vs)\n", status, tname, test.Elapsed)
if test.Failed {
for _, line := range test.Output[2:] {
fmt.Fprintf(w, "\t\t\t%s\n", strings.Replace(strings.TrimSpace(line), "\t", " ", -1))
fmt.Fprintf(w, "\t\t\t%s\n", strings.ReplaceAll(strings.TrimSpace(line), "\t", " "))
}
fmt.Fprintln(w, "\t\t\t----------")
}