Skip to content

Commit b9eeaca

Browse files
ARR4Nqdm12
andauthored
Apply suggestions from code review
Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Arran Schlosberg <[email protected]>
1 parent 13e3e76 commit b9eeaca

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

core/types/rlp_backwards_compat.libevm_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,14 +248,14 @@ func TestBodyRLPCChainCompat(t *testing.T) {
248248
wantRLPHex string
249249
}{
250250
{
251-
name: "nil ExtData",
251+
name: "nil_ExtData",
252252
extra: &cChainBodyExtras{
253253
Version: version,
254254
},
255255
wantRLPHex: `e5dedd2a80809400000000000000000000000000decafc0ffeebad8080808080c08304cb2f80`,
256256
},
257257
{
258-
name: "non-nil ExtData",
258+
name: "non-nil_ExtData",
259259
extra: &cChainBodyExtras{
260260
Version: version,
261261
ExtData: &[]byte{1, 4, 2, 8, 5, 7},

rlp/list.libevm_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ func TestStructFieldHelpers(t *testing.T) {
9595
}
9696

9797
for _, obj := range tests {
98-
obj := obj
9998
t.Run("", func(t *testing.T) {
10099
t.Logf("\n%s", pretty.Sprint(obj))
101100

@@ -221,7 +220,6 @@ func TestNillable(t *testing.T) {
221220
}
222221

223222
for _, obj := range tests {
224-
obj := obj
225223
t.Run("", func(t *testing.T) {
226224
rlp, err := EncodeToBytes(obj)
227225
require.NoErrorf(t, err, "EncodeToBytes(%+v)", obj)

0 commit comments

Comments
 (0)