From 0f3e78bba2ba69099c09a5812ba7749c44c00fd9 Mon Sep 17 00:00:00 2001 From: Jens Neuse Date: Tue, 10 Dec 2024 13:55:39 +0100 Subject: [PATCH] chore: fix lint --- update_test.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/update_test.go b/update_test.go index 37d7692..ec5ee84 100644 --- a/update_test.go +++ b/update_test.go @@ -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)