From a717f3d0c26fe303e09227f5342f9f8d0985fe1b Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Thu, 16 May 2024 16:32:57 -0700 Subject: [PATCH] fix lint Signed-off-by: Ben Ye --- tsdb/db_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsdb/db_test.go b/tsdb/db_test.go index 7d154971064..2ed3c679712 100644 --- a/tsdb/db_test.go +++ b/tsdb/db_test.go @@ -7087,7 +7087,7 @@ func TestBlockQuerierAndBlockChunkQuerier(t *testing.T) { require.NoError(t, b.Close()) } require.NoError(t, db.reloadBlocks()) - require.Equal(t, 2, len(db.Blocks())) + require.Len(t, db.Blocks(), 2) querier, err := db.Querier(0, 500) require.NoError(t, err)