aboutsummaryrefslogtreecommitdiff
path: root/src/testing/fuzz.go
diff options
context:
space:
mode:
authorKatie Hockman <katie@golang.org>2021-09-16 10:03:04 -0400
committerKatie Hockman <katie@golang.org>2021-09-20 17:18:57 +0000
commit24e25afff457839ddd78b802b42b8fceda0a6904 (patch)
tree2e7e6dd166e7d63b44b30b383bc9372109fc2c26 /src/testing/fuzz.go
parent5e9c1fedb69b405b75a0c499e2f32d35f294fd5c (diff)
downloadgo-24e25afff457839ddd78b802b42b8fceda0a6904.tar.gz
go-24e25afff457839ddd78b802b42b8fceda0a6904.zip
[dev.fuzz] Revert "[dev.fuzz] testing: convert seed corpus values where possible"
This reverts commit 413c125da38990720744c0d98ab65c0d5b1602da. Reason for revert: Giving this more thought, we've decided that converting types under the hood may cause unexpected behavior to users. This is a feature that can always be added after more consideration has been done, but is not something that can be removed due to the backwards compatibility promise. Updates golang/go#45593 Change-Id: I79bab24979d7e4c294e6cb6455d4c7729d6a0efb Reviewed-on: https://go-review.googlesource.com/c/go/+/350251 Trust: Katie Hockman <katie@golang.org> Trust: Joe Tsai <joetsai@digital-static.net> Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com> Reviewed-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'src/testing/fuzz.go')
-rw-r--r--src/testing/fuzz.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testing/fuzz.go b/src/testing/fuzz.go
index 3a1b0bdeaa..57ea418039 100644
--- a/src/testing/fuzz.go
+++ b/src/testing/fuzz.go
@@ -250,7 +250,7 @@ func (f *F) TempDir() string {
// Add will add the arguments to the seed corpus for the fuzz target. This will
// be a no-op if called after or within the Fuzz function. The args must match
-// or be convertible to those in the Fuzz function.
+// those in the Fuzz function.
func (f *F) Add(args ...interface{}) {
var values []interface{}
for i := range args {