diff --git a/config/interpolate_funcs_test.go b/config/interpolate_funcs_test.go index 865936ab7..fe68f38c4 100644 --- a/config/interpolate_funcs_test.go +++ b/config/interpolate_funcs_test.go @@ -354,6 +354,21 @@ func TestInterpolateFuncPow(t *testing.T) { "0", false, }, + { + `${pow("invalid-input", 2)}`, + nil, + true, + }, + { + `${pow(2, "invalid-input")}`, + nil, + true, + }, + { + `${pow(2)}`, + nil, + true, + }, }, }) }