diff --git a/config/interpolate_funcs_test.go b/config/interpolate_funcs_test.go index b80d7456b..a2c2a0fdd 100644 --- a/config/interpolate_funcs_test.go +++ b/config/interpolate_funcs_test.go @@ -858,11 +858,11 @@ func TestInterpolateFuncSha256(t *testing.T) { }) } -func TestInterpolateFuncTrim(t *testing.T) { +func TestInterpolateFuncTrimSpace(t *testing.T) { testFunction(t, testFunctionConfig{ Cases: []testFunctionCase{ { - `${trim(" test ")}`, + `${trimspace(" test ")}`, "test", false, },