From 6e5f466df9fbf9ab9bf9d020c6ab247dd733ba9f Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Mon, 22 Sep 2025 20:43:50 +0800 Subject: [PATCH] common: remove duplicate test cases #32624 (#1556) --- common/hexutil/json_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/hexutil/json_test.go b/common/hexutil/json_test.go index a014438458..3dc19680f9 100644 --- a/common/hexutil/json_test.go +++ b/common/hexutil/json_test.go @@ -408,7 +408,6 @@ func TestUnmarshalFixedUnprefixedText(t *testing.T) { {input: "0x2", wantErr: ErrOddLength}, {input: "2", wantErr: ErrOddLength}, {input: "4444", wantErr: errors.New("hex string has length 4, want 8 for x")}, - {input: "4444", wantErr: errors.New("hex string has length 4, want 8 for x")}, // check that output is not modified for partially correct input {input: "444444gg", wantErr: ErrSyntax, want: []byte{0, 0, 0, 0}}, {input: "0x444444gg", wantErr: ErrSyntax, want: []byte{0, 0, 0, 0}},