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) }