From 68a0cf5d819d894e72177fc4e807d48e1579fabd Mon Sep 17 00:00:00 2001 From: Georges Chaudy Date: Mon, 8 Jul 2024 12:12:09 +0200 Subject: [PATCH] remove testdataJSON --- pkg/storage/unified/sql/queries_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pkg/storage/unified/sql/queries_test.go b/pkg/storage/unified/sql/queries_test.go index c2d89a395f6..8df44dc84b6 100644 --- a/pkg/storage/unified/sql/queries_test.go +++ b/pkg/storage/unified/sql/queries_test.go @@ -2,7 +2,6 @@ package sql import ( "embed" - "encoding/json" "errors" "testing" "text/template" @@ -41,13 +40,6 @@ func testdata(t *testing.T, filename string) []byte { return b } -func testdataJSON(t *testing.T, filename string, dest any) { - t.Helper() - b := testdata(t, filename) - err := json.Unmarshal(b, dest) - require.NoError(t, err) -} - func TestQueries(t *testing.T) { t.Parallel()