aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/runtest/run.go
diff options
context:
space:
mode:
authorTaras Madan <tarasmadan@google.com>2025-07-15 16:43:33 +0200
committerTaras Madan <tarasmadan@google.com>2025-07-17 08:31:25 +0000
commitabd11cfd08430ec5f9d2c6dbd0e0f798816922d1 (patch)
tree522a8cc072d07d85c8a1d37b5b3ab89483599b48 /pkg/runtest/run.go
parenta81f309b57265e5760b926274e1f1681e7550e41 (diff)
all: apply linter auto fixes
./tools/syz-env bin/golangci-lint run ./... --fix
Diffstat (limited to 'pkg/runtest/run.go')
-rw-r--r--pkg/runtest/run.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/runtest/run.go b/pkg/runtest/run.go
index e95a1aa38..36159b9a7 100644
--- a/pkg/runtest/run.go
+++ b/pkg/runtest/run.go
@@ -100,10 +100,10 @@ func (ctx *Context) Run(waitCtx context.Context) error {
if req.err != nil {
fail++
result = fmt.Sprintf("FAIL: %v",
- strings.Replace(req.err.Error(), "\n", "\n\t", -1))
+ strings.ReplaceAll(req.err.Error(), "\n", "\n\t"))
if req.result != nil && len(req.result.Output) != 0 {
result += fmt.Sprintf("\n\t%s",
- strings.Replace(string(req.result.Output), "\n", "\n\t", -1))
+ strings.ReplaceAll(string(req.result.Output), "\n", "\n\t"))
}
} else {
ok++