From: guoguangwu Date: Fri, 23 Feb 2024 02:44:04 +0000 (+0000) Subject: internal/fuzz: remove useless code X-Git-Tag: go1.23rc1~983 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1922cef5d7d4400725d06303268659cc9ebc86ef;p=gostls13.git internal/fuzz: remove useless code Change-Id: I4534a116ef421379b2356bbe80760adae8cdd95f GitHub-Last-Rev: a3fab3f1fa84111f3f3af7cf9f98e964f2423c73 GitHub-Pull-Request: golang/go#65892 Reviewed-on: https://go-review.googlesource.com/c/go/+/566315 Run-TryBot: Tim King TryBot-Result: Gopher Robot LUCI-TryBot-Result: Go LUCI Reviewed-by: Tim King Reviewed-by: Roland Shoemaker --- diff --git a/src/internal/fuzz/encoding_test.go b/src/internal/fuzz/encoding_test.go index 6f6173d7e0..a46a347403 100644 --- a/src/internal/fuzz/encoding_test.go +++ b/src/internal/fuzz/encoding_test.go @@ -233,9 +233,6 @@ uint(18446744073709551615)` t.Fatalf("unmarshal unexpected error: %v", err) } newB := marshalCorpusFile(vals...) - if err != nil { - t.Fatalf("marshal unexpected error: %v", err) - } if newB[len(newB)-1] != '\n' { t.Error("didn't write final newline to corpus file") }