From 18bf4b8c0e6e1c99adb07f09744f1a3280fbd3cf Mon Sep 17 00:00:00 2001 From: Callum Styan Date: Thu, 23 Nov 2023 11:32:45 -0800 Subject: [PATCH] fix test panic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Callum Styan Signed-off-by: Nicolás Pazos --- storage/remote/codec_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/remote/codec_test.go b/storage/remote/codec_test.go index fee438ab6b..a6df8c7233 100644 --- a/storage/remote/codec_test.go +++ b/storage/remote/codec_test.go @@ -888,7 +888,7 @@ func (c *mockChunkIterator) Err() error { } func TestLenFormat(t *testing.T) { - r := rwSymbolTable{} + r := newRwSymbolTable() ls := labels.FromStrings("asdf", "qwer", "zxcv", "1234") encoded := labelsToUint32SliceLen(ls, &r, nil) decoded := Uint32LenRefToLabels(r.LabelsData(), encoded)