Skip to content

Commit 3f91899

Browse files
committed
chore: linter false positive
1 parent 02bf258 commit 3f91899

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/types/block.libevm_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func TestHeaderHooks(t *testing.T) {
153153

154154
setStub()
155155
_, err := json.Marshal(hdr)
156-
assert.ErrorIs(t, err, errMarshal, "via json.Marshal()")
156+
assert.ErrorIs(t, err, errMarshal, "via json.Marshal()") //nolint:testifylint // require is inappropriate here as we wish to keep going
157157
assert.Equal(t, errUnmarshal, json.Unmarshal([]byte("{}"), hdr), "via json.Unmarshal()")
158158

159159
setStub() // [stubHeaderHooks] completely overrides the Header

0 commit comments

Comments
 (0)