diff --git a/pkg/ottl/ottlfuncs/func_is_double_test.go b/pkg/ottl/ottlfuncs/func_is_double_test.go index b4268024b03e..f0e3e7409fc1 100644 --- a/pkg/ottl/ottlfuncs/func_is_double_test.go +++ b/pkg/ottl/ottlfuncs/func_is_double_test.go @@ -71,7 +71,7 @@ func Test_IsDouble(t *testing.T) { // nolint:errorlint func Test_IsDouble_Error(t *testing.T) { - exprFunc := isString[any](&ottl.StandardStringGetter[any]{ + exprFunc := isDouble[any](&ottl.StandardFloatGetter[any]{ Getter: func(context.Context, any) (any, error) { return nil, ottl.TypeError("") },