Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 5b2e0cc

Browse files
committed
core/types: allFieldsSet remove ineffective t.Helper()
1 parent 0e6dd91 commit 5b2e0cc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/types/header_ext_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ func headerWithNonZeroFields() (*Header, *HeaderExtra) {
121121
func allFieldsSet[T interface {
122122
Header | HeaderExtra | Block | Body | BlockBodyExtra
123123
}](t *testing.T, x *T, ignoredFields ...string) {
124-
t.Helper()
125-
126124
// We don't test for nil pointers because we're only confirming that
127125
// test-input data is well-formed. A panic due to a dereference will be
128126
// reported anyway.

0 commit comments

Comments
 (0)