From 3c4275381543431660e6008b3dfc013043138c7c Mon Sep 17 00:00:00 2001 From: Chris Lesiw Date: Sat, 28 Dec 2024 22:23:31 -0500 Subject: [PATCH] Remove redundant type --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e94f0e2..2b03a6a 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ import ( func FuzzTlsConfigClone(f *testing.F) { opts := cmp.Options{cmpopts.IgnoreUnexported(tls.Config{})} - f.Fuzz(func(t *testing.T, seed1 uint64, seed2 uint64) { + f.Fuzz(func(t *testing.T, seed1, seed2 uint64) { cfg1 := &tls.Config{} fill.Do(&cfg1, rand.New(rand.NewPCG(seed1, seed2))) cfg2 := cfg1.Clone() @@ -30,6 +30,6 @@ func FuzzTlsConfigClone(f *testing.F) { } ``` -[▶️ Run this example on the Go Playground](https://go.dev/play/p/_HX3J0f__AF) +[▶️ Run this example on the Go Playground](https://go.dev/play/p/65HAJsK2Fir) To run locally, `go test -fuzz=Fuzz -fuzztime=10s`.