From a3fab3f1fa84111f3f3af7cf9f98e964f2423c73 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 23 Feb 2024 10:37:10 +0800 Subject: [PATCH] internal/fuzz: remove useless code Signed-off-by: guoguangwu --- 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") }