diff --git a/expr/functions/countValues/function_test.go b/expr/functions/countValues/function_test.go index 2f70f006d..20d0972d5 100755 --- a/expr/functions/countValues/function_test.go +++ b/expr/functions/countValues/function_test.go @@ -5,7 +5,6 @@ import ( "testing" "time" - "github.com/go-graphite/carbonapi/expr/helper" "github.com/go-graphite/carbonapi/expr/metadata" "github.com/go-graphite/carbonapi/expr/types" "github.com/go-graphite/carbonapi/pkg/parser" @@ -112,9 +111,9 @@ func TestCountValues(t *testing.T) { } for _, tt := range tests { - testName := tt.E.Target() + "(" + tt.E.RawArgs() + ")" - t.Run(testName, func(t *testing.T) { - th.TestMultiReturnEvalExpr(t, &tt) + t.Run(tt.Target, func(t *testing.T) { + eval := th.EvaluatorFromFunc(md[0].F) + th.TestEvalExprWithRange(t, eval, &tt) }) }