Skip to content

Commit ed38c71

Browse files
committed
Fix test
Signed-off-by: SungJin1212 <[email protected]>
1 parent 55e810e commit ed38c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cortexpb/timeseriesv2_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestPreallocTimeseriesV2SliceFromPool(t *testing.T) {
1515
first := PreallocTimeseriesV2SliceFromPool()
1616
second := PreallocTimeseriesV2SliceFromPool()
1717

18-
assert.NotSame(t, first, second)
18+
assert.NotSame(t, &first, &second)
1919
})
2020

2121
t.Run("instance is cleaned before reusing", func(t *testing.T) {

0 commit comments

Comments
 (0)