Expressions: Add model struct for the query types (not map[string]any) (#82745)

This commit is contained in:
Ryan McKinley
2024-02-17 02:59:11 +02:00
committed by GitHub
parent 46a77c0074
commit f23f50f58d
15 changed files with 2074 additions and 1776 deletions
+3 -3
View File
@@ -30,7 +30,7 @@ var seriesEmpty = Vars{
func TestSeriesReduce(t *testing.T) {
var tests = []struct {
name string
red string
red ReducerID
vars Vars
varToReduce string
errIs require.ErrorAssertionFunc
@@ -217,7 +217,7 @@ var seriesNonNumbers = Vars{
func TestSeriesReduceDropNN(t *testing.T) {
var tests = []struct {
name string
red string
red ReducerID
vars Vars
varToReduce string
results Results
@@ -304,7 +304,7 @@ func TestSeriesReduceReplaceNN(t *testing.T) {
replaceWith := rand.Float64()
var tests = []struct {
name string
red string
red ReducerID
vars Vars
varToReduce string
results Results