Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
outofforest committed Dec 19, 2024
1 parent 55f1b1a commit f62bb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions space/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit f62bb79

Please sign in to comment.