From 1922cef5d7d4400725d06303268659cc9ebc86ef Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 23 Feb 2024 02:44:04 +0000 Subject: [PATCH] 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 --- src/internal/fuzz/encoding_test.go | 3 --- 1 file changed, 3 deletions(-) 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") } -- 2.48.1