aboutsummaryrefslogtreecommitdiff
path: root/src/internal/fuzz
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2023-03-15 18:16:57 -0700
committerGopher Robot <gobot@golang.org>2023-03-16 05:12:55 +0000
commitc69ff3a7d0c8bd2878662034c1cbce8613fa6f13 (patch)
tree327d973c2b74aadf0c9b40184b005a0d082df388 /src/internal/fuzz
parentbf03fa98077c11fc76de8afa48bcf676ca0e0704 (diff)
downloadgo-c69ff3a7d0c8bd2878662034c1cbce8613fa6f13.tar.xz
internal/fuzz: fix debug statement
Meant to check if the slice was empty, accidentally dumped the entire slice to stdout... Change-Id: I968cb2f20ffb006e4dcfea65a1bad794aac05d17 Reviewed-on: https://go-review.googlesource.com/c/go/+/476795 Auto-Submit: Roland Shoemaker <roland@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Roland Shoemaker <roland@golang.org>
Diffstat (limited to 'src/internal/fuzz')
-rw-r--r--src/internal/fuzz/fuzz.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/fuzz/fuzz.go b/src/internal/fuzz/fuzz.go
index 8024ffb2b8..8e4351e011 100644
--- a/src/internal/fuzz/fuzz.go
+++ b/src/internal/fuzz/fuzz.go
@@ -824,7 +824,7 @@ func (c *coordinator) queueForMinimization(result fuzzResult, keepCoverage []byt
"queueing input for minimization, id: %s, parent: %s, keepCoverage: %t, crasher: %t",
result.entry.Path,
result.entry.Parent,
- keepCoverage,
+ keepCoverage != nil,
result.crasherMsg != "",
)
}