mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
Fix chunkenc/chunk_test.go
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
d5d7a097e1
commit
47166a7969
|
@ -32,7 +32,7 @@ func TestChunk(t *testing.T) {
|
|||
for enc, nc := range map[Encoding]func() Chunk{
|
||||
EncXOR: func() Chunk { return NewXORChunk() },
|
||||
} {
|
||||
t.Run(fmt.Sprintf("%d", enc), func(t *testing.T) {
|
||||
t.Run(fmt.Sprintf("%v", enc), func(t *testing.T) {
|
||||
for range make([]struct{}, 1) {
|
||||
c := nc()
|
||||
if err := testChunk(c); err != nil {
|
||||
|
|
Loading…
Reference in a new issue