From f62bb798ef5519e83f5ac1cdd0a346fa25802f04 Mon Sep 17 00:00:00 2001 From: Wojciech Malota-Wojcik Date: Thu, 19 Dec 2024 19:02:10 +0100 Subject: [PATCH] fix --- space/data_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/space/data_test.go b/space/data_test.go index 99ddf52..b15c33b 100644 --- a/space/data_test.go +++ b/space/data_test.go @@ -35,8 +35,8 @@ func TestDataNode(t *testing.T) { itemP := unsafe.Add(nodeP, dataNode.NumOfItems()*types.UInt64Length) for i := range dataNode.NumOfItems() { - requireT.Equal(uint32(i), *(*uint32)(itemP)) - requireT.Equal(uint16(i), *(*uint16)(unsafe.Add(itemP, 4))) + requireT.Equal(uint32(i), *(*uint32)(itemP)) //nolint:testifylint + requireT.Equal(uint16(i), *(*uint16)(unsafe.Add(itemP, 4))) //nolint:testifylint itemP = unsafe.Add(itemP, 8) }