Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jensneuse committed Dec 10, 2024
1 parent 229df2c commit 0f3e78b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,9 @@ func BenchmarkValue_SetArrayItem(b *testing.B) {
b.ResetTimer()
b.ReportAllocs()

values := make([]*Value, b.N*2)

for i := 0; i < b.N; i++ {
l, _ := ParseBytesWithoutCache(l)
r, _ := ParseBytesWithoutCache(r)
values = append(values, l, r)
out, _ := MergeValues(l, r)
arr := out.GetArray("child", "grand_child", "items")
assert.Len(b, arr, 1024*1024)
Expand Down

0 comments on commit 0f3e78b

Please sign in to comment.