mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 15:13:30 -06:00
remove testdataJSON
This commit is contained in:
parent
d98da81a42
commit
68a0cf5d81
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user